Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getfldstate
Message
De
31/08/2000 16:51:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Getfldstate
Divers
Thread ID:
00411511
Message ID:
00411511
Vues:
43
Hi all.

I'm changing multiple rows in a buffered(5) table.

My code is:

SELECT myAlias
DO WHILE myfield = lcVariable and !eof()
replace myfield2 with myVariable
skip
ENDDO

now, after it exits the DO WHILE loop, the record pointer is pointing to a record that has not been changed, so GETFLDSTATE(-1) returns "11111111...".

Must I move the pointer back one (SKIP-1) record after going through the loop. This doesn't seem right.

Any thoughts? thanks
HI-YO SILVER AWAY!!
The Lone Ranger, The late Clayton Moore R.I.P.
I am a fool!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform