Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record Is Out of Range
Message
 
À
03/07/2007 11:05:47
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01237434
Message ID:
01237693
Vues:
16
Hi Walter.Thanks for your reply
I use a command button's click event to append a record. Focus may be on the grid, the user then clicks the add button, and a record is appended, and then I set focus back to the grid.
Howver, no matter how hard I try on my set of files, I cannot replicate the problem.


>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform