Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When the record was really changed?
Message
From
27/07/2005 09:22:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035985
Message ID:
01036177
Views:
9
>My idea was to save the record with scatter name oPrevStateRecord and then compare with the current record. But since we're in the framework environment, the task is not that trivial...

Sure you can save with scatter name. On the other hand, VFP already saves a copy automatically, as soon as the user starts editing (which is what oldval() checks), and scatter name might be more difficult to integrate into the framework.

It should be a relatively trivial task to loop through all the fields in the current record, comparing every field's value with its oldval().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform