Hi,
I have a master (with an autoinc field) query.
A detail query is linked to the master query.
After inserting and posting a master record, I want to automatically insert a record into the detail table.
I first choose the OnBeforePost event of the master table. But this isn't a good solution : it is triggered after dsedit / dsinsert state.
Then,on the master query, I launch the mysqlEditor and I've generated the SQL statements. In the SQL Insert statement, I've added a second statement that will fill the detail table given the master query autoinc field.
Insert went fine, but the second statement wans't executed.
Is there any workarround ?
Thank you
Is it possible : fill the SQLUpdate property with 2 Statements
-
swierzbicki
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
-
swierzbicki
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59