Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NOT A TABLE error when opening a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00853949
Message ID:
00854221
Views:
15
Russell,
I've never heard of this but you might try the following during your troubleshooting. Use the Add Class and Remove Class commands on each class stored in the VCX. After moving each class to a temporary VCX, try to edit it using MODIFY CLASS. If at some point, you can't, you may have a corrupted subclass and you will probably have to rebuild it.
add class class1 of myvcx to temp1
remove class class1 of myvcx
Once you verify/correct all the classes, you can use ADD CLASS to move them back into one VCX.

HTH.

>This one is driving me nutty. The problem cropped up when I tried to MODI
>CLASS on one of the classes in a VCX. VFP says "Error loading file - record
>number 73. lblReplaces or one of its members. Parent: Not a table". I
>tried deleting record 73. Same error. I packed the VCX. Same error on record
>73, but now it reported the object as a grid object (the one that used to be
>record 74 before the pack).
>
>I use Cryptor for encryption of the data in this app and I get a "Not a
>table" error if I forget to load Cryptor and register the data files, so I
>thought it was something related to the encryption (though I had the library
>loaded and set up properly). So I decrypted all the data even though VFP
>shouldn't be attempting to open the tables when it opens this class.
>Unfortunately, that did not do the trick.
>
>I've checked out the label base class that record 73 is based on and it
>seems fine as do all of my other base classes. I'm checking the VCX for
>corruption, but so far I haven't turned up anything. Anybody seen this
>before. This happens under VFP 7 SP 1 and VFP 8 SP 1.
>
>Thanks,
>
>Russell Campbell
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform