M
MoonBlosm
I am trying to print a report using two different critera. This is what I
have but something is wrong:
I am sure it has something to do with the quotes....
stLinkCriteria = "[ProjectID] = " & PreviewProject & And &"[WorkOrder#] =" _
&WorkOrderNum
stDocName = "RptWOChecklist"
DoCmd.OpenReport stDocName, acViewPreview, stLinkCriteria
Thanks in advance!
have but something is wrong:
I am sure it has something to do with the quotes....
stLinkCriteria = "[ProjectID] = " & PreviewProject & And &"[WorkOrder#] =" _
&WorkOrderNum
stDocName = "RptWOChecklist"
DoCmd.OpenReport stDocName, acViewPreview, stLinkCriteria
Thanks in advance!