Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLDVAL() returns .NULL. question.
Message
From
28/01/2003 06:23:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
OLDVAL() returns .NULL. question.
Miscellaneous
Thread ID:
00746128
Message ID:
00746128
Views:
57
Hi!

I have been debugging a problem with Oldval(). On a newly appended record in a row buffered view, that has not been committed yet, when applying OldVal() (in program code) to numeric field that has had a value entered by the user, OldVal() returns .NULL.

Is this correct? OldVal() helps mentions nothing about this and specifies that the function returns a value commensurate with the column's data type.

If I go to the command window and browse the view, OldVal() returns the present value of the field but I assume that browsing the view committed the record hence the old value equals the current value.

Any insight on this will be appreciated.

Many thanks!
-=Gary
Next
Reply
Map
View

Click here to load this message in the networking platform