Hello,
I use the components of Doa Versions 4.0.3. I have three tables in a master-detail relationship. The first table tab1 is master of table tab2. tab2 is additional master of tab3. After I insert in all three table a record like this
tab1.insert;
tab2.insert;
tab3.insert;
and I just try to post the changes on tab1 like this
if tab1.State in [dsInsert, dsEdit] then tab1.post;
then I`ll get the ORA-02291 error, cause doa try to post first the changes of tab3. What is the reason? I`ll set the property CommitOnPost to false. Could anyone give me a solution? Thanks in advance.