Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need good why to return to a position in a file.
Message
De
10/03/1999 11:56:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00195887
Message ID:
00195899
Vues:
17
>Have needed many time to "hold_recno = recno()", do something, then "go hold_recno". This does not work if recno was eof or bof. What is a good way to save the record pointers position, and then return exactly there, whether it is a good recno, bof or eof.
>
>Thanks - Brenda

You may provide that pointers will never go to bof()/eof(). SET NEAR ON will help and also when you issue SKIP test the results:
IF BOF()
go top
ENDIF
IF EOF()
go bottom
ENDIF
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform