R
Ripper
I am using the following code to open a report. There are 2 where
conditions. Both work fine if I just use 1. When I put them together with
AND I get a type mismatch runtime error 13.
DoCmd.OpenReport "rptBoxPrintout", acViewPreview, , "TestID=" & Me.TestID
And "BoxNumber =" & Me.BoxNumber
TestID and BoxNumber are both numbers.
What am I doing wrong?
conditions. Both work fine if I just use 1. When I put them together with
AND I get a type mismatch runtime error 13.
DoCmd.OpenReport "rptBoxPrintout", acViewPreview, , "TestID=" & Me.TestID
And "BoxNumber =" & Me.BoxNumber
TestID and BoxNumber are both numbers.
What am I doing wrong?