Is it possible to have a button linked to a combo box so if the combo box = A it prints report A or if the combox = B it prints repot B ans so on.
Iam up to this point at the moment but get stuck on OR and Loops
Private Sub Command109_Click()
Dim strWhere As String
strWhere = "[QuoteID]=" & Me.QuoteID
DoCmd.OpenReport "Quote", acViewPreview, , strWhere
End Sub
Any ideas.
Iam up to this point at the moment but get stuck on OR and Loops
Private Sub Command109_Click()
Dim strWhere As String
strWhere = "[QuoteID]=" & Me.QuoteID
DoCmd.OpenReport "Quote", acViewPreview, , strWhere
End Sub
Any ideas.