>>
>>Answering your last question only - adding NODEFAULT in form's QueryUnload method should prevent form's closing.
>
>Hi Naomi:
>
>Thanks for your reply. I jumped on my keyboard and put code on QueryUnload. Before this I read VFP''s help and it says it does just what you say but Foxy sometimes lies..
>
>Not only it doesn't work but when I debugged Queryunload is absolutely ignored...
>
> Héctor
Well, you need to trace exactly what's happening in your form. Fire up EventTracker and determine which events are fired.
If it's not broken, fix it until it is.
My Blog