I hope that i can get closure on this issue. I am using Delphi 6 with DOA 3.4.6.4 in a 3tier application. I have a foreign key on the detail table. At runtime i create a record in the master and assign a -1 to the master DS keyfield. I add a detail record and i assign this value to the correcponding field in the detail table. When the record posts I get an error ORA-02291: integrity constraint (PMRS.DOCDETAILHEAD_FK) violated - parent key not found. My provider options are popropogatechanges, pocascadeupdates, poincfieldprops. Am I doing something wrong or is there a problem with my version of DOA? I cannot upgrade from D6. Is there anything else I can do?