C
cmichaud
I am trying to add a statement to this existing one. It is attached to
the onclick event of a button.
Private Sub Command7_Click()
DoCmd.OpenReport "rptClubRegistry", acViewPreview, , "[ClubID] = " &
Me.ClubID
End Sub
I want to make it so that if ClubID (on the form, a combobox) is left
null it will return the entire report.
Does it go like this
DoCmd.OpenReport "rptClubRegistry", acViewPreview, , "[ClubID] = " &
Me.ClubID
Or If Me.ClubID is Null Then
DoCmd.OpenReport "rptClubRegistry",,acViewPreview
End If
End Sub
Kinda new here. Ok very new,
the onclick event of a button.
Private Sub Command7_Click()
DoCmd.OpenReport "rptClubRegistry", acViewPreview, , "[ClubID] = " &
Me.ClubID
End Sub
I want to make it so that if ClubID (on the form, a combobox) is left
null it will return the entire report.
Does it go like this
DoCmd.OpenReport "rptClubRegistry", acViewPreview, , "[ClubID] = " &
Me.ClubID
Or If Me.ClubID is Null Then
DoCmd.OpenReport "rptClubRegistry",,acViewPreview
End If
End Sub
Kinda new here. Ok very new,