>>Jim, do you have any ideas about what to do when the form blows up and has to be cancelled. THe usual cleanup code doesn't run, and I haven't figured out how to get that reference out of memory. This has been an ongoing problem during development, and even when I KNOW the object reference, I can't set it to .NULL. from the command line.
>
>Barbara,
>
>Well I may take some heat for this idea, but I have the general practice during development of reloading VFP at least once every hour whether anything has gone wrong or not. I figure that with the nature of what I am doing during development it makes sense to clean the slate now and then to prevent things from building up behind the scenes on me.
>
>So in answer to your specific question, when I have a form crash on me (I always have to do this because my framework requires a message from the form to remove the references from the application object) I shut down VFP and restart it.
Making a virtue of necessity, huh? :-)
I used to do that with VFP3 & Windows, but find I can sometimes go almost 2 hours with Win95 and VFP50a if I'm not working with form.object variables.
Barbara