SuttonWillow
New member
- Local time
- Today, 23:37
- Joined
- Apr 3, 2021
- Messages
- 1
I have a problem that I think I have a solution to but don’t know how to write the code for it.
I have a button that opens a form, on this form there is a combo box that has a query attached to it, the number of records in this query can change and can return no results which is what it is designed to do, what I would like to do is if the query is empty to inform the user when he clicks on the button, that the combo box is empty, and not open the form.
I have a button that opens a form, on this form there is a combo box that has a query attached to it, the number of records in this query can change and can return no results which is what it is designed to do, what I would like to do is if the query is empty to inform the user when he clicks on the button, that the combo box is empty, and not open the form.