Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding new detail Records on Update

2 views
Skip to first unread message

Adrian Mercieca

unread,
Feb 11, 2008, 5:00:31 AM2/11/08
to
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.

0 new messages