I need to be able to show a command botton only when the form date is the same as today's date. I tried:
If Me.DateWkd <> Date Then
Me.New.Visible = False
End if
This doesn't work. So I tried:
If Me.DateWkd <> Date Then
Me.New.Transparent = True
This works, but the user can still click where the command button should be and activate the button. How can I make the button inactive when it is hidden?
I am using Access 2007. Thanks in advance - You guys are great!
If Me.DateWkd <> Date Then
Me.New.Visible = False
End if
This doesn't work. So I tried:
If Me.DateWkd <> Date Then
Me.New.Transparent = True
This works, but the user can still click where the command button should be and activate the button. How can I make the button inactive when it is hidden?
I am using Access 2007. Thanks in advance - You guys are great!