Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle an invalid GO RECORD # ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00236852
Message ID:
00237426
Vues:
14
Hi Eric,

>If I do a GO RECORD var command, is there a way to control the case where the record is not there (instead of having the foxpro message record out of range) ?

Don't use it, but use LOCATE RECORD nRecno instead. It's just as fast, but will position the record pointer at EOF if you pass an invalid record number.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform