connordrew
Registered User.
- Local time
- Today, 06:29
- Joined
- Aug 14, 2003
- Messages
- 22
Hi,
I have three checkboxes on my form and I would like to set the following properties:
I have an MP3, a WMA and Logged field.
If logged = yes and either wma or mpr = yes, then I want a play button to be visible.
I have tried using the following code:
Private Sub Form_Current()
If Me.checkboxname = True Then
Me.commandbutton.Visible = True
Else
Me. commandbutton.Visible = False
End If
End Sub
But this will only allow for 1 checkbox. Can anyone help?
I have three checkboxes on my form and I would like to set the following properties:
I have an MP3, a WMA and Logged field.
If logged = yes and either wma or mpr = yes, then I want a play button to be visible.
I have tried using the following code:
Private Sub Form_Current()
If Me.checkboxname = True Then
Me.commandbutton.Visible = True
Else
Me. commandbutton.Visible = False
End If
End Sub
But this will only allow for 1 checkbox. Can anyone help?