>I have a form which will display a list of hospitalized patients - the init event of the form creates an array and then populates a listbox on the form.
>
>If the list is empty - I would like to display a messagebox and NOT then display the form. If I place thisform.release in the init event - the form still displays. What am I doing wrong?
>
>thanks in advance for the help.
Richard,
Return .F. from the Init to stop the form form being created.