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:
00123146
Views:
19
>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 -

Display the messagebox then return a false from the init and the form won't display.

- Mark
----------
Mark Bucciarelli
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform