G
Guest
Okay, here is the code that I have, which is behind the command button to run report. The combo box lists the selections. When I click on the selection in the dropdown and then click command button to run the report, nothing happens. What am I doing wrong? I've tried taking the Case Else out, but still nothing.
Dim stDocName As Strin
Select Case [cboSelectReport
Case "MA1
stDocName = "MA1 All
Case "MA2
stDocName = "MA2 All
Case "MA3
stDocName = "MA3 All
Case "MG1
stDocName = "MG1 All
Case "MG3
stDocName = "MG3 All
Case Els
DoCmd.OpenReport stDocName, acViewPrevie
End Selec
Dim stDocName As Strin
Select Case [cboSelectReport
Case "MA1
stDocName = "MA1 All
Case "MA2
stDocName = "MA2 All
Case "MA3
stDocName = "MA3 All
Case "MG1
stDocName = "MG1 All
Case "MG3
stDocName = "MG3 All
Case Els
DoCmd.OpenReport stDocName, acViewPrevie
End Selec