Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid TableUpdate() to move the pointer ?
Message
De
01/02/1999 12:49:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00182430
Message ID:
00182577
Vues:
11
>Hello everybody,
>When you are using table buffering, that is, buffering=5 or
>buffering =3, after updating several records and doing a
>TableUpdate(.t.), the cursor is moved to the last record
>mdified, I want the cursor to stay where it is without hav
>having to doit manually.

If all updates are buffered, than before tableupdate() your recno() will show negative numbers (buffered records have recno from -1,-2 .. and so on).
And after tableupdate all those negative records are gone, so you should save your recno BEFORE changing the records...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform