Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business object requery in cBizObjMaintenancForm
Message
De
12/01/2000 15:20:48
 
 
À
12/01/2000 14:12:49
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00317135
Message ID:
00317213
Vues:
13
>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
Fil
Voir

Click here to load this message in the networking platform