Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record out of range
Message
 
 
To
24/01/2009 14:30:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01376756
Message ID:
01376781
Views:
11
>>I have this in a form, but sometimes when it gets to this line the RecNo() associated to lnCurrentRecNo is no longer available. How can I best check so I do not get the error?
>>
>>GOTO lnCurrentRecNo
>>
>
>You could use a Try - Catch around the GOTO. You'll still get the error, but the user won't see it and you can deal with it.

I always use the code suggested by James to avoid such errors.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform