D
Darren \(at work\)
Hi,
I need to have multiple criteria in a DCount function but have been unable
to make this work.
What I need is to count all the records from the 'Inspection' table WHERE:
(Date BETWEEN Variable1 AND Variable2) AND ('Prod_Rej' = Variable3) AND
(PartCode = Variable4)
Something like the following:
intProdfaults = intProdfaults = DCount("*", "Inspection", "[Partcode] =
PartVariable" & "[Date] between DateVariable1 and DateVariable2" &
"[Prod_Rej]=true")
Many thanks for any and all help
Darren
I need to have multiple criteria in a DCount function but have been unable
to make this work.
What I need is to count all the records from the 'Inspection' table WHERE:
(Date BETWEEN Variable1 AND Variable2) AND ('Prod_Rej' = Variable3) AND
(PartCode = Variable4)
Something like the following:
intProdfaults = intProdfaults = DCount("*", "Inspection", "[Partcode] =
PartVariable" & "[Date] between DateVariable1 and DateVariable2" &
"[Prod_Rej]=true")
Many thanks for any and all help
Darren