Hi, Kevin. What you are looking for is to return .F. from the INIT event.
>Greetings all,
>
>I'm always trying to fit everything in one single form (without an associated .prg), so please indulge my mania <grin>.
>
>In the load event of a form, I'm testing a variable and if "false" then I don't want to load the form. I can't call the unload event, and I've "RETURN 0" but neither work.
>
>Can it be done?
>
>TIA!
>
>Kevin E. Stroud
>
kestrou@nexlan.com