Hi!
Thanks for correction.
>>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,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.