Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Out of Range Error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00057343
Message ID:
00057533
Views:
34
>>Whenever I cancel out of a form, I get a Record Out of Range error message. When I clear the error message, everything functions perfectly. I re-indexed everything--no effect. Don't know where this puppy is coming from. What can cause this error (Error #5) and what do I have to do to make the thing go away???
>>
>>TIA.
>>
>>John
>
>Typically, I've gotten that error when issuing a GO somerecordnumber and the record number doesn't exist. And that's usually because I've left the pointer at BOF() or EOF(). If you're moving the pointer in a table, you might need to check for those and put the pointer on the first or last record so that it is somewhere that exists. I really don't know your exact situation so I just guessing.
>
>Steve

John,
In addition to Steve's comments, be sure you have SELECTed the area you THINK you have. I fall for this one regularly, because sometimes the SELECT area will change with a combo-box requery or a refresh.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform