Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BizObj and Events
Message
 
To
07/06/2001 08:27:27
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00516243
Message ID:
00516435
Views:
9
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 ???.
Previous
Reply
Map
View

Click here to load this message in the networking platform