Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View parameter hook
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00601211
Message ID:
00601241
Views:
19
>You initiate the variable in the PostInitHook of the business object where the data evenironment object that contains the view pertains to. The code would look like:
>
>this.AddViewParameter('vp_route','')
>
>make sure the second parameter is passed as a character.
>

Actually, this isn't a "normal" view parameter. Since it's part of the join condition, VFP is prompting for the parameter even when using the view with no data. So AddViewParameter() won't help me in this situation - I need this set even before MM's attempts to use the view. It looks like Dan's suggestion works, though.

Thanks for the feedback.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform