I'm sure this is easy but I've been staring at it for to long. I get the following error message in this line of code.
DoCmd.OpenReport "Evaluation Due Dates R", acViewNormal, , "Division = " & rs.Fields("Division"), acHidden
I think jedraw is correct.
"Division = '" & rs.Fields("Division") & "'"
Adding single quotes around rs.Fields("Division") ensures the value is treated as a text string in the SQL filter.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.