Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizObj and Events
Message
 
À
07/06/2001 08:27:27
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00516243
Message ID:
00516435
Vues:
10
The way I've seen it done in the past is you add a property on the BizObj to act a place holder for your view parameter.

ex: oCustomer.iCustomerID = 0

In the postinithook of the BizObj you put a line of code like so:
This.AddViewParameter("vp_iCustomerID", "This.iCustomerID")

When you get ready to requery your object you populate like so:
oCustomer.iCustomerID = 101

Then you requery your BizObj. During the requery it'll pick up the value from the iCustomerID property.

I've seen Kevin and a few other developers use this method on a few occassions and to me this seems to be the best way to do this while using MTS/COM+ since passing quotes from VB and VBScript is a pain in the ???.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform