Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curval() and oldval() problems
Message
From
13/06/2014 22:49:49
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01601839
Message ID:
01601840
Views:
53
Take a look at the GeteNextModified() example in VFP9 help. When you are on a modified record, you should see oldval() and curval() reflect the correct values, providing you are using Optimistic buffering.

Hank

>I am struggling with a buffering problem and know there must be a switch somewhere I"m missing and hoping it's not a bug:
>
>1. open a table within my program, set multilocks on, set cursorsetprop("buffering",5,"mytable")
>2. set the curval("myfield","mytable") and oldval("myfield","mytable") up in debug window.
>3. Make a change and move fields and/or records. The data doesn't show a change in the curval() function.
>if I issue a tableupdate command, then everything updates correctly.
>
>do the curval and oldval functions not work in a browse or grid? Is there another switch/function I'm missing to make this work?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform