L
ljg08
Hey.,...can anyone tell me why this code does not work, I am missing
something really simple ?
Private Sub cmdrun01_Click()
If Me.Option38 = True Then
DoCmd.OpenReport "qryMainreport01", acViewPreview
Else
End If
If Me.Option40 = True Then
DoCmd.OpenQuery "qryMainreport", acViewNormal
Else
End If
If Me.Option42 = True Then
DoCmd.OpenQuery "qryMainreport", acViewNormal
Else
End If
End Sub
something really simple ?
Private Sub cmdrun01_Click()
If Me.Option38 = True Then
DoCmd.OpenReport "qryMainreport01", acViewPreview
Else
End If
If Me.Option40 = True Then
DoCmd.OpenQuery "qryMainreport", acViewNormal
Else
End If
If Me.Option42 = True Then
DoCmd.OpenQuery "qryMainreport", acViewNormal
Else
End If
End Sub