Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Is Out of Range
Message
From
03/07/2007 11:05:47
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01237434
Message ID:
01237462
Views:
16
Gerard,

By any chance is there some code in the VALID method in the control that has focus at the time you're doing the append ??

If so, that might be the cause of the problem. I've encountered this many times before. The solution I've found is to get the focus OFF the grid when appending a record.

Walter,


>Hi.
>I have been getting this message, quite randomly.
>Error code is Select TRN
>TRN is a Rewdwrite cursor and the record source for a Grid.
>I cannot see anywhere in the code where I try to access the file if its at eof as all I am doing is appending records, and modifying them
>
>I have a recollection that this sort of thing came up randomly before and I had to code around it.
>
>Any help appreciated
>Regards,
>Gerard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform