Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLDVAL return .NULL.
Message
From
18/06/2001 11:47:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/06/2001 11:11:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520390
Message ID:
00520633
Views:
19
>That reasoning is possible, Hilmar. But the record technically does 'exist', being the result of an APPEND BLANK and in this case the fields have 'known' values. At least that makes sense to me.

The record does exist, of course, but we are talking about the previous value: the value before the record was posted (committed) the last time (with TableUpdate()).

If you issue APPEND BLANK and then TableUpdate(), the old value (OldVal()) will, of course, be empty. But if you try to do this, you will most likely violate the rules of your DB.

Regards, Hilmar.
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