Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle an invalid GO RECORD # ?
Message
From
06/07/1999 07:41:47
 
 
To
06/07/1999 07:29:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00236852
Message ID:
00237663
Views:
13
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform