Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods reverting to prior code after save
Message
From
22/08/2014 08:07:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01606227
Message ID:
01606254
Views:
96
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.


Hmmm. Sounds to me like there is a copy of the form somewhere in the search path and the form that you are modifying is not the same form that you are running. You should search for all copies of the form and delete the ones that you do not want (if you find multiple copies). Personally, I hate windows search - this is the one that I use (it's free) because it is 10 times better:

http://download.cnet.com/ScanFS/3000-2248_4-10649596.html
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform