Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetNextModified and GetFldState don't agree
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01222033
Message ID:
01223149
Vues:
16
Well, I'm not using SetFldState, so this is not the issue. Thanks for the info, however.

>I don't known your code,
>but remember this ( a bug for me ):
>On VFP9, when you use SETFLDSTATE() it set GETNEXTMODIFIED() on every case
>
>
>CLEAR
>
>CREATE CURSOR aaa (ff i)
>APPEND BLANK
>APPEND BLANK
>
>CURSORSETPROP("Buffering",5)
>
>* return 0,'11' !
>? GETNEXTMODIFIED(0),RECNO(),GETFLDSTATE(-1)
>
>* if you use SETFLDSTATE it set GETNEXTMODIFIED on every case
>GO 2
>=SETFLDSTATE(1,1)
>
>* return 2 ? ,'11'
>? GETNEXTMODIFIED(0),RECNO(),GETFLDSTATE(-1)
>
>* of course you cannot reset GETNEXTMODIFIED with SETFLDSTATE
>GO 2
>=SETFLDSTATE(1,1)
>
>* return 2,'11' !
>? GETNEXTMODIFIED(0),RECNO(),GETFLDSTATE(-1)
>
>GO 2
>* return 2,'11' !
>? GETNEXTMODIFIED(0),RECNO(),GETFLDSTATE(-1)
>
>* TABLEREVERT reset GETNEXTMODIFIED
>* TABLEREVERT(.F.)
>* return 0,'11' !
>? GETNEXTMODIFIED(0),RECNO(),GETFLDSTATE(-1)
>
>
>Fabio
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform