Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nice thing to happen...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01084793
Message ID:
01085015
Views:
15
>Hi everybody,
>
>I was running the process and at the same time I was changing that class in the other VFP session. Guess, what happened? My class somehow was replaced with a formset and all methods and properties are lost. Well, I have an outdated version in VSS and luckily I posted a message with a request to help here in UT, so not everything is lost, but still...
>
>Oh, well, this should (but I doubt it would) teach me to be more careful...

Yeah, that's happened to me more than a few times. I've got some projects in VFP 8 and some in 9, so I had been opening the same class in both (going back and forth) to make sure I didn't inadvertently add member data. VFP at some point would change it to a form.

You can fix this by USEing your VCX as a table. SET DELETED OFF, then BROWSE. Usually the form is the last 1 or 2 records in the VCX and you'll see a couple of deleted records above it. I've been able to fix it by deleting the new entries and undeleting the old ones.

Good luck.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform