TOracleDataSet in Frame

i have a DetailOracleDataSet in a Frame,
after this frame created in runtime,
i set DetailOracleDataSet.Master= MasterDataSet,when i applyupdates,error occurs,DetailOracleDataSet have two same
record,why?

Best regards
AC
 
Can you show us the code that applies these updates?

------------------
Marco Kalter
Allround Automations
 
sorry, my code is very long, so in brief

the master dataset is in my
main form and detail dataset in frame.
if i not set detail.master property then
it works,but if i set that,it will
duplicate a same record after i
commit . thx.
 
Since the records appear twice, I assume that the updates are applied twice as well. Note that if you apply the updates of a master dataset, this implicitly applies the changes to the detail dataset. Could it be that you implicitly apply the updates of the detail dataset in a separate call to TOracleSession.ApplyUpdates?

------------------
Marco Kalter
Allround Automations
 
Back
Top