Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Did this ever happen to you???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00500128
Message ID:
00500675
Vues:
19
>>I wrote a line of code in a form, and when I saved, it erased it! I tried again.. same thing!!!
>>I am using VFP6 SP5 with MDAC2.5 if that is useful...
>
>David,
>
>I've run into this apparent VFP bug every once in a while, on versions through SP4 (haven't tried SP5). "I could'a sworn I saved those changes!" My recollection is that there were always multiple open method windows, and the problem seems to occur more frequently when multiple forms or classes are open, but I'm not certain - this is just a vague impression. When it happens (quite infrequently) I switch into hyper-cautious mode: start a fresh VFP session ASAP, carefully open only one object at a time, save after each change, close and reopen to confirm that the changes stuck. I don't recall ever seeing this behavior persist in a fresh VFP session.
>
>Mike


As it occured to me, it happens when the class is in memory. (Frequently due to an error or other reason) So, if I issued clear all, this problem had gone away.
So, I put a clear all command into my program endline. It is executed if it runs under development enviroment.

bb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform