Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to define view parameter
Message
From
20/06/2000 12:48:48
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00382142
Message ID:
00382263
Views:
15
ALex,

Under normal circumstances, you would call the AddViewParameter from the business object's PostInitHook method, but in this case I have a view parameter in the SELECT part of the view, so in order to open the view I need the view parameter defined.

I finally assigned the parameters in the business object oDELoader.Init method and it opened, then used the AddViewParameter in the business object PostInitHook and requeries as normal.

Thanks

Rex

>Hi Rex,
>
>How about a call to addviewparameter from the form's init event?
>
>That seems to work for me.
>
>Alex
>
>>All,
>>
>>I have a view using a view parameter in a calculated field. I need to have the view parameter defined before the view can be opened in the business object's oDELoader.
>>
>>Normally I would use the business object PostInitHook method, but the view is already open when this method is executed.
>>
>>Any ideas?
>>
>>TIA
>>
>>Rex
Previous
Reply
Map
View

Click here to load this message in the networking platform