Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent display of form if no records in init event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00123143
Message ID:
00123148
Views:
23
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform