Can someone please help me,
I'm trying to create a database and create a form to make it user - friendly. My problem is I don't know how to disable buttons. An example of what I mean is as follows:
I have on a form two buttons:
Command1
Command2
Command1 is set to run a macro titled Test. What this query does is open up a table that can be edited.
Now when a person clicks on the button titled Command1, I don't want them to be able to click on Command2 which executes another macro. The only way that I want them to be able to run Command2 is after they have exited from the table opened with Command1.
Can anyone provide me with the code that will make what I want happen? I would really appreciate anyone's help.
Thanks,
Rmartinez
I'm trying to create a database and create a form to make it user - friendly. My problem is I don't know how to disable buttons. An example of what I mean is as follows:
I have on a form two buttons:
Command1
Command2
Command1 is set to run a macro titled Test. What this query does is open up a table that can be edited.
Now when a person clicks on the button titled Command1, I don't want them to be able to click on Command2 which executes another macro. The only way that I want them to be able to run Command2 is after they have exited from the table opened with Command1.
Can anyone provide me with the code that will make what I want happen? I would really appreciate anyone's help.
Thanks,
Rmartinez