C
|
cgphp 2/28/2012 |
Yes, it should be possibile. We could tell you more if you give us more info about your tables structure. |
Z
|
zephyr325 author 2/28/2012 |
Yes, it should be possibile. We could tell you more if you give us more info about your tables structure.
|
L
|
lummis 3/1/2012 |
I don't wish to hijack this thread but I am looking to resolve a similar problem! |
![]() |
kujox 3/3/2012 |
I don't wish to hijack this thread but I am looking to resolve a similar problem! My tables reflect yours but I was looking at a slightly different design. At the moment - using your table names - I can use the add page in 'Attendance' to pull the details from the 'Calendar' tables for a specific event then record each participant but if you have 30 participants this means carrying out the add operation 30 times. I was wondering if there was a way, perhaps by using check boxes, of producing a list of all likely participants which you can then tick on one page and submit as a single form. My project involves selecting a team from a list of approx 80 names and I am trying to find a simple solution. Brian
$strSQLSave = "INSERT INTO AnotherTable (Field1, Field2) values ("; |
L
|
lummis 3/4/2012 |
On a general note why not add into the events section addpage/before record added, then use some mysql to insert a record in the second table using some of the same data. $strSQLSave = "INSERT INTO AnotherTable (Field1, Field2) values (";
|
![]() |
kujox 3/6/2012 |
Thanks for you response. I may have misunderstood, but I think that all this will do is to write the data added to a new table. If I have to make say 16 selections from my pool of 80 people this will still mean that I have to use the add page 16 times whereas I am looking to select all 16 at the same time and then add with a single click (possibly to a new table) Brian
|
L
|
lummis 3/6/2012 |
You can do this on the visual editor, if you click on the insert code icon then insert button from the menu. If you follow the demo bit as below you should get the idea how to get the record keys which are placed into $params. How to update Multiple records Once you have them you can use a Mysql insert statement to update the second table with the records.
|