Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CURVAL() & OLDVAL() Returning NULL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
CURVAL() & OLDVAL() Returning NULL
Miscellaneous
Thread ID:
00569174
Message ID:
00569174
Views:
61
CURVAL() and OLDVAL() are both returning NULL. I know the OrdQty
field was changed prior to this code being run, and was not yet
committed. I'm using optimistic table buffering.

Here's my code:

LOCAL nOrigQty, nNewQty

nOrigQty = OLDVAL("OrdQty", "LineItems")
nNewQty = CURVAL("OrdQty", "LineItems")


If I enter 'LineItems.OrdQty' into the debugger, it correctly displays
the new value. Anyone know whats going on here?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform