Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nice thing to happen...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01084793
Message ID:
01085015
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform