Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods reverting to prior code after save
Message
 
 
À
22/08/2014 03:45:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01606227
Message ID:
01606262
Vues:
71
>>Perhaps someone can help me. I am not using anykind of "code source" software that would make these changes.
>>
>>Today I have noticed that I can make a change to a Form's Method, save it, run the program and the changes are not reflected in the code. When I open the form (sometimes but not all the time) the code is lost and reverts back to what was there to begin with. At other times the changes stick.
>>
>>A time or two, I have been able to make changes,save them, run the program and the changes were reflected in the running program. Then when I re-opened the form the changes were lost and the prior code was there.
>>
>>Any suggestions? Could this be a corrupt foxuser file or something? Perhaps I need to pack something (a project or whatever).
>>
>>Help is appreciated and I need it quickly....:)
>>
>>Mel
>
>Hi Mel:
>
>Sometimes SCX / VCX get corrupted in a way that can have duplicted methods, on wich you update one but VFP use another.
>You can try to convert your form to Text with FoxBin2Prg (in VFPx), MODIFY COMMAND it, look for your method with CRL+F or using the Document View icon on the VFP IDE, and see if the code there is what you expect.
>
>If everything is ok, you can regenerate de form from the text version (.sc2 file), and normally this fixes this problem.
>
>
>Best Regards!


Thanks for the suggestion - if needed I will try this. At this point it looks like the suggestion Victor gave worked.

Thanks for your help....

Mel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform