>Hi,
>
>I want to close a form programatically before the user can interact with the form e.g. the form contains no data or an error loading the data environment handled by the error method.
>
>Unfortunately calling the THISFORM.Release method doesn't help.
>Calling this method in the activate or init event/method is ignored by the system.
>
>Thanks for any help.
>
Andreas,
Return .F. from the Init. That will prevent the creation of the form altogether.