>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