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
Miscellaneous
Thread ID:
00569174
Message ID:
00569203
Views:
25
Turn buffering on by using the commands
set multilocks on
cursorsetprop( 'buffering', 5 )
>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
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform