G
Guest
Hi, I'm new programing in Acces, I have a form with tree chekboxes on it
(option0, option2, option4).
I want that if the chekbox 0 and 2 are chossen, Macro1 runs, I have the
folowing code giving me bad results (pd. I also have a command button and the
code is in the command_click event):
Private Sub Command7_Click(Cancel As Integer)
If Option0 = 1 And Option2 = 1 Then
DoCmd.RunMacro "Macro1"
End If
End Sub
What am I doing wrong????
TIA
(option0, option2, option4).
I want that if the chekbox 0 and 2 are chossen, Macro1 runs, I have the
folowing code giving me bad results (pd. I also have a command button and the
code is in the command_click event):
Private Sub Command7_Click(Cancel As Integer)
If Option0 = 1 And Option2 = 1 Then
DoCmd.RunMacro "Macro1"
End If
End Sub
What am I doing wrong????
TIA