Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Three Business Objects
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00679276
Message ID:
00679338
Views:
19
>I have 3 business objects in page 2 of my page frame. When I edit the edit box which displays the value of one of the business objects and click the cmdokmaint button to save the changes, how can I direct the save command to the corresponding business object?
>
>Thanks a lot.
>
>Nerissa Dela Rosa
>McFadden's

You can call the form's SetPrimaryBizObj() with a reference to the bizobj (done before they click OK). You can also just override the OK button Click() code to call the appropriate bizobj's Save() method (for example, check each bizobjs.IsChanged() method and if it's changed, call Save()). Or, if there is supposed to be some sort of relationship between the bizobjs (parent/child) you can set these relationships in the bizobj builder and let the framework automatically call each of Save() methods.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform