Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transactions Business Object
Message
De
12/06/2001 13:50:39
 
 
À
12/06/2001 10:40:47
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00518340
Message ID:
00518506
Vues:
14
Thanks James. I'll try with these methods

Oscar

>>I’d like to track time and date for transactions like New and Save when a record is edited. My problem is that the OnSaveNew method triggers when the record has been successfully saved, and I do not know when a record was just edited.
>>
>>On the other hand if I use the PostSaveHook, I’m in the middle of a transaction and I’m not able to use the business object which inserts the transaction into the log table.
>>
>>I would appreciate any kind of information to get around this problem and be able to call a business object to track transactions.
>>
>>Thanks in advance
>>
>>Oscar Corte
>
>There are a number of methods available to test the "state" a record is in. Two in particular are IsNew() and IsChanged(). Instead of putting your logic in the postsavehook() why not put it in the presavehook()? You might also want to take a look at the new publisher and subscriber architecture to do what you need. Check out the documentation in the User's Guide in 6.1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform