Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record is out of range
Message
De
27/10/1999 08:38:53
 
 
À
27/10/1999 08:34:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00282115
Message ID:
00282162
Vues:
38
If you can reproduce the error, then insert a SET STEP ON where you know it will crap out. This will popup the VFP Debugger. You can then go to the Watch window and test the value of ALIAS() and RECNO() and whatever else. This will tell you which table.

>I don't know which table it's referring to. I have several 'requeriers', then thisform.refresh(). It does it the very first time it's run. If I 'Ignore' the error, it continues and there doesn't seem to be any problem after that.
>Weird. I guess I'll have to mess with it. (Thanks for the Tablerevert()/Rollback response too.) Take Care...
>
>
>>Hi Mary-Ann,
>>
>>There is nothing intrinsically wrong with what you are trying to do. Do you have any idea which table the error is referring to? There are many reasons this may be happening. One way this can happen is if you are using optimistic table buffering and adding rows and then, somewhere in the code, using GO nREc where nRec is RECNO(). RECNO()s are negative in appended records in this situation and when saved, become positive record numbers.
>>
>>
>>>Get this error when the project is run for the first time. I 'Suspend' it to find it's on the line that reads "Thisform.Refresh()" which is in the gotfocus for the main screen. I have this there because a few screens into it, the user can add to the opening screen's pick lists. (I want the pick lists updated when the user gets back to the main screen). What is the better way to do this?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform