Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method is being wiped in class library
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00091973
Message ID:
00092205
Views:
24
Hi Barbera:
After this started to happen, I started using the class browser to pack the library. Also, if a recompile all is done during a build or the compile classlib command is issued, that vcx file is packed automatically.

This seems to be consistent behavior because these problems only started occuring after I started running the form with a DO FORM in the command window instead of building an APP each time. The DO FORM approach was never compacting the vcx file....

This is still a pretty major problem though, no code should ever be lost by using the tools!

Thanks


>Harold, I would try 2 things.
>
>First, (after backing it up!!) I would open the class as a table and PACK it.
>
>Second, I would deleted my FOXUSER.DBF and let VFP create a new one. When this file gets large, strange things happen.
>
>HTH
>Barbara
>
>>Here is something that only started with me about a month ago...
>>
>>I have a class library which has around 180 records in it.
>>Periodically, when i edit a form class in this library, and save it, all of the code in the form methods is deleted! To confirm, I opened up the vcx as a table and browsed it. The METHODS memo field is empty for the latest version of that class. (Each time a class is modified the old records are marked for deletion and a whole new set of records are created).
>>
>>I had to unmark the previous set of records and delete the newest set. This then restored the code.
>>
>>Has anyone else seen this?
>>
>>Iam using build 412 dated May 6th 1997.
>>
>>Thanks
>>------------------------
Previous
Reply
Map
View

Click here to load this message in the networking platform