Question. I have two combo boxes named Quarter and Dept. I'm trying to use the selections of the above to open a report using the WhereCondition argument. Can somebody tell me where I'm going wroung with the code below. The Me.Quarter but the Me.Dept does not..
If Me.Quarter = "qtr12002" Then
DoCmd.OpenReport "rptqtr12002", acViewPreview, wherecondition:="Section" = Me.Dept
Thanks
MF
If Me.Quarter = "qtr12002" Then
DoCmd.OpenReport "rptqtr12002", acViewPreview, wherecondition:="Section" = Me.Dept
Thanks
MF