Information générale
Catégorie:
The Mere Mortals Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement