Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to detect if data has been changed?
Message
 
 
To
30/03/2006 08:56:23
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01109147
Message ID:
01109154
Views:
29
>Is there a "best practice" for determining if any values in a buffered table/view have been changed, in an nTier VFP application, plus reasons for doing so; i.e.:
>
>1. Using GETFLDSTATE()
>2. Using GETNEXTMODIFIED()
>3. Setting a "dirtybuffer" flag.
>4. ?
>
>Thanks,
>Randy W.

For table buffered view you have to use GetNextModified. You may then expect the modified record with GetFldState if you want to find which field was changed.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform