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.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.