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:
00092210
Views:
17
Harold,

There was a bug in VFP3 that would sometimes move/delete method code, but I've not seen it in VFP5. Is there some chance the class has been edited by hand in the .VCX directly? If you move things from where VFP expects them to be it can cause problems. You might try rebuilding the class from scratch copy and pasting code from the original to the new class.

SP3 will take your build number up to 415

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform