E
evilcowstare via AccessMonster.com
Hello
I have a button on a form that runs a macro to open up another form to
display details against a selection that was made in the 1st form.
For example Main form1 had a drop down, next to it is a button.
when the button is clicked it runs a macro to open form 2 with details
related to the drop downs selection.
This all works fine when it has a selection in it, the problem I have is if
the button is pressed before the selection is made it brings up form2 as a
grey square and you can do nothing to it, is there anyway i can make it so
that the button either wont work until a selection is made in the drop down
or it brings up a message to make a selection first and doesnt run the macro?
Thank You
)
I have a button on a form that runs a macro to open up another form to
display details against a selection that was made in the 1st form.
For example Main form1 had a drop down, next to it is a button.
when the button is clicked it runs a macro to open form 2 with details
related to the drop downs selection.
This all works fine when it has a selection in it, the problem I have is if
the button is pressed before the selection is made it brings up form2 as a
grey square and you can do nothing to it, is there anyway i can make it so
that the button either wont work until a selection is made in the drop down
or it brings up a message to make a selection first and doesnt run the macro?
Thank You