Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Corrupted Form

Status
Not open for further replies.

mkendi

Programmer
Oct 21, 2000
82
TR
One of my most important forms is currupted.
If I try to modify it, I get the message:

Error loading file - record number 4.
<one of it's members>.
Parent: Class name is invalid

I opened the form as a table and all the memo-fields were empty.
But an inspection with a Hex-Editor shows, that all the methods and properties of the form are there.
Any solution for this problem?
Thanks in advance
 
Hi mkendi
I had simmiler problems with (VFP6).

try to remove it from the project, and add it again. see what happens.
 
mkendi

Error loading file - record number 4.
<one of it's members>.
Parent: Class name is invalid


This would indicate that you have an invalid class at record 4 of the form. Try using your form like a table and go to record 4 and investage the problem.

use myform.scx
goto 4
browse



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Removing and than adding the form did not solve the problem.
I also investigate the record. All memo-fields are empty.
Also the other fields in the fellowing records are empty.
 
mkendi
I simulated your problem by going to record number 4, and entered improper entry in the memo field, it gave exactly the same message.

You can go to any good form and do the same thing.

As Mike mentioned that should be your starting point.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top