Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which method to save changes to a field
Message
De
18/01/2008 19:44:28
 
 
À
18/01/2008 18:32:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01283155
Message ID:
01283171
Vues:
21
Hi James,

When I had a similar requirement (no buffering, had to write to tables a FPD app still accessed), I added a property called 'OriginalVal' to each control.

Populated 'OriginalVal' in GotFocus(), compared in LostFocus(), populated a cursor with appropriate info and updated the logging table when the transaction was saved.

Bruce

>No, I hadn't -- because I had never heard of it.
>
>However, for the case in hand, the table isn't being buffered, so I don't think it applies.
>
>>>I have a few fields on a stand alone table where I want to save a log of all changes.
>>>
>>>Do I write to the log file in the VALID method? And do I know that I need to do so by saving a flag that INTERACTIVECHANGE was called (in case they just tabbed through)?
>>
>>Did you already read the help on GETFLDSTATE() ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform