Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does cursor buffer have any changes?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01507610
Message ID:
01507619
Vues:
51
>>>Hi,
>>>
>>>Is there a way to determine if a cursor buffer has any pending changes? I am looking at function GetNextModified() which will probably work. But my understanding that it goes though a number of records. And I am interested to know if the current record of the buffered cursor has any changes. Any suggestions?
>>
>>GETFLDSTATE() ?
>
>I thought about it but I will have to scan through all the fields. Which is doable. I was hoping that CursorGetProp() would have a property that would indicate if the cursor record has pending changes. But nothing else, scanning fields with GetFldState() should work.
>Thank you.

You can check all fields at once with -1 field # . and than check result for modification. One line of code.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform