Hi!
return .F. from Init event should prevent form from loading.
nodefault in the Load event should prevent from loading too.
>Hello,
>
>I have the following problem:
>
>before launching a form I do a set of tests to make sure the form can be run.
>The only way I found to close the form is to do 'ThisForm.release' in the acitvate event becauses the release command doesn't seem to work in the init or load event. Is there a way to close the form from within the init or load event ??
>
>Thank's,
>
>Hans Vangansbeke
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.