Group: StrataFrame Users
Posts: 93,
Visits: 236
|
Hi,
I have for example 2 tables with 1-to-1 relation.
When I add record to Master table - INSERT trigger add record to SLAVE table
Now I have a form where data from 2 tables present.
When I click "NEW" toobar button I must be able to modify data like all fields located in same table.
For this reason I have 2 BO on the form and set of textboxes with data binging.
Problem begins when I click "SAVE"
When I save MASTER table - trigger automatically creates record in SLAVE table, and when I call SAVE() for child BO - I have key duplicates.
I try to create instance of same BO and try to make MergeFrom() but data is not updated.
Need idea, how to be in this case.. what the best solution for it?
Thanks
Denis
|