Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requerying a view with a view parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00416208
Message ID:
00416360
Vues:
21
Greg,

I've ran into the same problem when I first started working with the framework.

What helped me alot was looking at the ProjMgr Project that Kevin includes with his framework. In the future you might want to look at some of those examples. They provide good ideas as well...

Here what I did to requery on the subsequent pages of a pageframe:

cListBizObj1.cParentBizObj =
cListBizObj1.lAutoPrimaryBizObj = .T.
cListBizObj1.lRequeryChildOnRequeryParent = .T.
cListBizObj1.lUIEnablerNewRecord = .F.
cListBizObj1.nRequeryType = 1

An example for the parent biz obj would like "InvoiceHeaderBizobj" if in fact your page 2 happens to be "InvoiceLineItemBizObj".

Another thing to keep in mind is that is you are subclassing from cListObjEdit Class your BizObj will be contained in it. All you're doing is adding a Data Environment to it.

Good luck! Let me know if this worked for you...

Vic
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform