Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages
Started by Adrian Mercieca
Mon, 11 Feb 2008 10:00
Adding new detail Records on Update
Author: Adrian Mercieca
Date: Mon, 11 Feb 2008 10:00
Date: Mon, 11 Feb 2008 10:00
16 lines
1524 bytes
1524 bytes
Hi, I have a master/detail relationship between 2 queries in a datasnap application. Is it possible to insert new records into the detail when a new record has been inserted into the master, before the whole data is committed to the DB? I'd like to be able to do this on the server side. I know that I should be doing this on the OnUpdateData or OnBeforeUpdateRecord of the export dataset provider on the server, but what is the exact syntax to use? When I tried adding new records to the detail data packet, I kept getting an 'operation not supported' exception of some sort. Tks - Adrian.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads