Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle an invalid GO RECORD # ?
Message
De
06/07/1999 07:41:47
 
 
À
06/07/1999 07:29:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00236852
Message ID:
00237663
Vues:
14
>>I think I would do the first line as
>>
>>IF BETWEEN(xxx, 1, RECCOUNT())...
>>
>>>
>>>if xxx<=reccount()
>>> go (xx)
>>>else
>>> go bottom && or just locate to go to top whatever makes you happy
>>>endif
>
>Why?

To avoid the annoying "record is out of range" error...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform