>What does this ERROR MESSAGE means:
>
>"Error loading file - Loading form or the data environment - record number
>12. Database in invalide. Please validate."
>
>I have done the command VALIDATE DATABASE and according to that my database
>is valid. I have also tried loading the form on an old database (a backup)
>and it worked just fine. If I do a trace, the error message pops up before
>I can trace any code.
>I have removed(PACK) some recordes and ADD and REMOVED some tables since I
>did the backup on my database.
>
>"record number 12" what does it mean and how can I use it to find the
>problem?
>
>Thankes in advance.
>
>
The record reported by the message isn't in the tables used by your form
but in the the form *.scx file.
In Visual Fox the the forms code and behavior are stored in tables.
So try that:
use your_forname.scx
browse
Look at the table structure and field name , find for the OBJNAME column,
go to record 12 edit the memo , You will see the control name caused the
error message .
Remember to close the your_forname.scx file before you reload or edit it in
the form editor with a USE command.
I hope this will help You.
Paolo
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement