Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper cursor buffering
Message
De
02/02/1999 15:43:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00183097
Message ID:
00183154
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform