Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vanishing method code
Message
From
18/07/2006 17:00:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
18/07/2006 15:32:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01137364
Message ID:
01137403
Views:
17
>This has happened to me about 3 times in the past year. I know I'm not crazy!
>
>I'm working on a form with lots of method code. I make a change, save my changes and the next time I run the form some of my method code is gone. It's not even the method I was working on!
>
>Today all of the code on my page frames (Activate, Deactivate and Refresh) was wiped out. All of the other code is fine!
>
>Once a few months ago, the code actually swapped. So Page1.Activate and Page1.Refresh were swapped, etc.
>
>This has happened with different forms, different projects.
>
>Anyone else seen this?

Completely missing, yes - happened a lot in VFP5, rarely in VFP6, and never in 7 or up.
Partially missing, happened only once, when I had a TEXT command without a matching ENDTEXT, so VFP went looking for EndProc command after the Endtext - and never found it. I solved that one by editing the Methods memo in the .vcx (or was it a .scx) and recompiling the classlib (or the form).

Methods swapped - never happened. Try Compile Form ... it may force Fox to reread the source and rebuild the changed/added PEM list in Reserved3 field (or was it Reserved7... I'm bad with names).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform