Information générale
Catégorie:
The Mere Mortals Framework
>Hi Rex,
>
>There is no parent-child relation, it it the view which is joined to another table from where I need to requery the data.
>
>Oscar
>
>>Is the business object for this view linked to the business object in the adding table. If so, in the Business Object Builder has an option to reqery child on new parent. If not, try the OnNew method of the adding view business object.
>>
>>HTH
>>
>>Rex
>>
>>>I'm using a View which needs to be requeried after a new record has been added (in a cBizObjMaintenancForm), because it contains a couple of fields which need to be updated.
>>>
>>>Where is the right place to do this requery?
>>>
>>>Right now I'm using the PreSaveHook method to update these fields without requering the business bject.
>>>
>>>I tried the PostSaveHook with no success.
>>>
>>>Thanks for any tips.
>>>
>>>
>>>Oscar
The postsavehook should work. What syntax did you use? This.reqeury() will call the bizobj requery method.
Précédent
Suivant
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