Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper cursor buffering
Message
From
02/02/1999 15:43:21
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00183097
Message ID:
00183154
Views:
22
John,

How do you "...make changes to the data... initially - using replace or depending on Form ControlSource or some other means? Does the record pointer get moved before you issue GETFLDSTATE() first time?

Perhaps the act of changing those records that you initially did REPLACE on moves the record pointer?

Good luck,

Jim N

>I have a form2 that is called by form1. Form1 has Private datasession and Optimistic buffermode set. The form2 has Default DS and also Optimistic buffermode set.
>
>Now, when I create a read/write cursor (via CREATE CURSOR...followed by USE DBF()...followed by REPLACE to update some records) in code and then issue =CURSORSETPROP("Buffering",5,"cMycursor") the cursor should now be buffered. However, when I make changes to the data, GETFLDSTATE(-1) is returning no changes being made. Only when I make changes to those records that I actually had initially done REPLACE to get some default data does GETFLDSTATE() reflect changes being made. Obviously, somethings wrong here.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform