Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery business object after save
Message
De
23/02/2001 07:08:15
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00478557
Message ID:
00478748
Vues:
29
Alex,

Two things:

1 I need to have display fields in the view populated and the Requery will do this automatically.

2 The PostSaveHook runs before the end of the transaction so you can't Requery yet. What I need is a place to put the code that runs after the END TRANSACTION.

Any ideas?

Thanks

Rex
>>I have an updatable view containing foreign fields (non updatable fields used to show foreign key name values). When I add or modify a record, I change these fields in the PreSaveHook method. If I could requery the view after a Save, I would get the same result. I don't see any flag to RequeryOnSave. Is there a way this can be done?
>
>Hi Rex,
>
>Don't know why you would want to requery data that you already have, but hey...
>
>What about the PostSaveHook? Forms and Bizobjs have this method, so you could do it at the UI level or at the BO level.
>
>Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform