J
Jan
Hello,
I am trying to run a report using the Where condition. I
have set 2 conditions and independently, they work fine.
However, when I combine them I get a type mismatch. Could
anyone look at the code below and help me figure out where
I have gone wrong?
DoCmd.OpenReport "rptPackaging",acViewPreview,
, "[Quality Agreement at Supplier] = 'Yes'"
And "[Year] '2003'"
Thanks in advance,
Jan
I am trying to run a report using the Where condition. I
have set 2 conditions and independently, they work fine.
However, when I combine them I get a type mismatch. Could
anyone look at the code below and help me figure out where
I have gone wrong?
DoCmd.OpenReport "rptPackaging",acViewPreview,
, "[Quality Agreement at Supplier] = 'Yes'"
And "[Year] '2003'"
Thanks in advance,
Jan