To disable email command button

F

Frank Situmorang

Hello,

I have more than 2 control tab, I want it enabled for only tab no 1, for all
the others should disable the email command button. I appreciate anyone's
help.

On the MS access sample database of address, the following is VBA which is
not similar case with mine:
Private Sub TabHousehold_Change()
' Disable datasheet button if Members selected
On Error Resume Next
Me!cmdDatasheet.Enabled = (Me!TabHousehold.Value <> 1)
End Sub

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top