Add something like the following to the Click event of your cmdSearch
button:
Me!cmdYourReportButton.Enabled = True
Use the =False to disable it again.
Regards
Jeff Boyce
Microsoft Office/Access MVP
> How can I have a command button to be deactivated by default and be active
> upon clicking another button. And then have it become deactivated again
[quoted text clipped - 10 lines]
> "Reset" button is clicked the "Report" button becomes deactivated again.
> Please hit me with your genius ideas. Thanks in advance.
injanib - 13 Jul 2007 20:48 GMT
That was easy!
Awesome.
thanks allot
>Add something like the following to the Click event of your cmdSearch
>button:
[quoted text clipped - 13 lines]
>> "Reset" button is clicked the "Report" button becomes deactivated again.
>> Please hit me with your genius ideas. Thanks in advance.