>Hi!
>
>return .F. from Init event should prevent form from loading.
>nodefault in the Load event should prevent from loading too.
pmfji, but nodefault does not work for me (VFP6 SP5)
Return .F. does the trick in the load event, just like it does in the init event. This is from the VFP6 help:
To prevent a form from being created, return false (.F.) from the Load event; the Destroy event will not be executed.
Regards,
Frank Camp