Thanks for your quikly answer. Return .F. works but the form is still in memory. I try thisform.release but doesn't work
>Hello!
>Return a false from the Init event:
>RETURN .F.
>
>Mark
>
>>I want to know how to prevent to display a form that has a validation code in the init event. If the validation code fails, the form doesn't appear, otherwise goes thrue. I try nodefault and thisform.release but doesn't work.