Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle an invalid GO RECORD # ?
Message
From
02/07/1999 08:32:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00236852
Message ID:
00236874
Views:
10
>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) ?
>
>Thanks
>Eric

if xxx<=reccount()
go (xx)
else
go bottom && or just locate to go to top whatever makes you happy
endif
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform