Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More than one updatable BizObj per cBizObjNoListMaintFor
Message
From
05/03/1999 18:34:52
 
 
To
05/03/1999 12:01:05
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00194559
Message ID:
00194732
Views:
17
>I don't know if I am asking this question correctly, but here it goes.
>
>It is my understanding that you can have only one updatable cusror per data environment.
>
>I have a form based on cBizObjNoListMaintForm and would like to have more than one updatable cursor. Perhaps a seperate updatable cursor on each page. Since these tables are not involved in a one-to-many relationship, I don't see te need to use cListObjEdit.
>
>Is there anything else that I can do? Am I missing something in the DOCS?
>
>Thanks,
>David McInnis

You can have as many business object on a form as you need, but only one can be the parent on single page in pageframe or a form. Generally, a business object only updates a one view. If you need to update many business objects, you have several options. Try looking at the documentation about event objects. This is a case when you have several business objects participating in an event. This sounds closest to your objective.

Otherwise, if your objects are children of a parent object, you can control the updating of the child objects through the save method of the parent object just by setting a property in your child objects. (I hope that last line wasn't confusing.)

I hope this helps.
Previous
Reply
Map
View

Click here to load this message in the networking platform