Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Prevent display of form if no records in init event
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement