General information
Category:
The Mere Mortals Framework
Hi All,
I am haveing two problems, probabily related.
I have a cbizobjmaintenance form with 5 pages. The first page has the list of the parent records, the second page has the detail for the parent and pages 3-5 each have a different child record. No problem here.
The child bizobjs are set up as children of the parent in each biz obj.
When I add a new parent, enter data in the detail page fields and click save before leaving the detail page (page 2) everything is OK. All child records are added and match to the parent.
When I add a new record, enter data in the detail page fields and click on another page without clicking 'save' on the detail page and enter data on any of the children pages all records are added with data BUT the foreign key in the children records do not match the primary key of the parent.
For example if the next parent primary key should be 100, the foreign key of each child record is 100 but the primary key of the parent is 101. The newid is apparently hitting twice.
Also, (the second problem) I am not getting a 'Do you want to save the record' message if I move off the parent onto a child.
There was a similiar thread last year but no conclusion was apparent.
Any help would be apppreciated.
TIA
Regards
Bill
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only