Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple cursors in a business object
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00324833
Message ID:
00325423
Views:
32
Brian (via Paul)

> PMFJI - Are your other lookup views set to "No Data on Load" in the bizobj builder? That's the default. If that's the case, your views won't have any information in them. If you change view parameters, you need to repopulate those views by manually SELECTing them then issue a =REQUERY().

Check out the Docs on the CSelect Class if you go this route, or...

>The one caveat is that the AddViewParameters() you set in the PostInitHook() won't be available to these other views. You'll need to manually populate the view parameters yourself before refreshing the view.

This is where your lookup specific methods come into play. Pass in the the value for your view parameter, store it to vp_whatever, and specify the view alias in your =REQUERY() call to get around have to select the view first.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Reply
Map
View

Click here to load this message in the networking platform