Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Out of Range Error
Message
From
02/11/1997 04:48:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00057343
Message ID:
00057836
Views:
38
Barbara and Steve:

Thanks a ton--excellent advice. I was absolutely clueless as to where to look. Now I strongly suspect I will find and squash this little sucker once and for all. I really appreciate it.

John

>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform