Re: View data not updating

Author: Ed Leafe

Posted: 2004-07-14 at 16:10:12

Quote: >>I have an "addressbook" that is parent to "invoice", which is

parent to "invoicelines" That all works fine. My problem is with

"lineitems" which doesn't work to make a child of "invoicelines", at

least I haven't been able to make it work, it always chooses the first

record in the table to update, even though in my screen to choose

items it chooses correctly. Ed' s right, the save() isn't being called

without the parent-child relationships. I wonder, can a bizobj.save()

be called from another without it being in the parent-child order?

Sure - just override your main bizobj in its AfterSave() method. If

the main Save() completed successfully, call the Save() of your

lineitems bizobj.

©2004 Ed Leafe