Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Command Buttons and Disappearing Code

0 views
Skip to first unread message

Tim Witort

unread,
Feb 8, 2001, 8:59:04 AM2/8/01
to
Yes. A couple of times, I've been working on a form or
class, when I realized that *all* of the method code was
gone. This was some time ago. In one case, I think
I just bailed out of VFP completely and restarted and
all was well. In the other case, I actually had to
restore a backup. But since I use "DataKeeper" (makes
continuous backups of every development file that changes),
I really didn't loose much, if anything.

One very disconcerting thing that happened just a week
or so ago was when I was working on the code in a custom
form method. I made some changes, then saved the form.
All of the changes disappeared. I made the changes again
and saved. The same thing happened. I repeated this
several times, making a variety of small changes. Every
time I saved, the changes went away and the code was
back in its pre-edit form. I shutdown VFP and restarted
and it worked fine after that. Now *that* is scary.

-- TRW

Fiona Cassidy wrote:
>
> Hi,
>
> WE've had a problem on two different VFP 6.0 systems here recently, whereby
> the code behind the command buttons on the forms have disappeared.
> VFP has been re-installed and the latest visual studio service packs are
> also installed. The only idea I have come up with, is that we may have
> opened the screens affected in VFP 5 at some stage. Would this have the
> effect of losing the code. When I look at the .SCT files through a text
> editor, the code still exists within these files, but is not avilable when
> you try accessing it through form design
>
> Has this happened to anyone else
>
> Thanks in advance for any replies

--
_______________________________________
My e-mail: t r w 7
@ i x . n e t c o m . c o m
_______________________________________

0 new messages