Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to define view parameter
Message
De
20/06/2000 12:48:48
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00382142
Message ID:
00382263
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform