Hi,
I'm trying to insert a record into a table from a form. That works fine. Problem is I would like to simultaneously insert a record into another table using hidden fields and only 1 submit button for both. I dont even want the user to know he is creating the second record. Not being sneaky, honest.
Table 1 creates a record with an autoincrement field as key. It would be great to be able to pass this key to the other table while doing the insert on the second table. I didn't think that was possible because the key is not created until the insert is submitted.
I am wanting to create new records in two tables because I ran out of room in the one table > 255 fields. I have to keep them in sync somehow and that is the problem.
Is this possible? Suggestions for doing this?
Thank you.
Puterdude
I'm trying to insert a record into a table from a form. That works fine. Problem is I would like to simultaneously insert a record into another table using hidden fields and only 1 submit button for both. I dont even want the user to know he is creating the second record. Not being sneaky, honest.
Table 1 creates a record with an autoincrement field as key. It would be great to be able to pass this key to the other table while doing the insert on the second table. I didn't think that was possible because the key is not created until the insert is submitted.
I am wanting to create new records in two tables because I ran out of room in the one table > 255 fields. I have to keep them in sync somehow and that is the problem.
Is this possible? Suggestions for doing this?
Thank you.
Puterdude