Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More than one updatable BizObj per cBizObjNoListMaintFor
Message
De
05/03/1999 18:34:52
 
 
À
05/03/1999 12:01:05
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00194559
Message ID:
00194732
Vues:
19
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform