Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record is out of range
Message
From
09/01/2009 02:44:39
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01370902
Message ID:
01372262
Views:
33
Gerard,

as Fabio mentioned, all commands that use the scope RECORD and GO.

In opposite what I stated before GO (and RECORD n) can place the record pointer to any existing record, visible or not. So the error will occur if you place the record pointer outside the valid records. (NOTE: RECCOUNT() is not allways the highest record number available).

I have no idea about the grid problem Fabio mentioned.

Is there a chance that something changes the workarea? A function that is rarely used, or some event that is running? I do not see your VFP version, but Eventbinding can do a lot of fun.

Ooops, all those years without SCAN ENDSCAN? What app was without it?

Agnes

>Hi Agnes.. thanks for your reply.
>Just to clarify.. are you saying that the ONLY command that can give a Record Out Of Range error is a GOTO ??
>
>
>>I still do not understand your IF EOF() construct. What is wrong with SCAN ENDSCAN?
>This is historical. I have always used these (before Scan/Endscsan was available) and just never changed with the times
>
>Regards,
>Gerard
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform