L
LP
Hi there
in control source, I use
=DCount("[Field1]","qryX","[Field1] IN ('a' , 'd' , 'n' , etc)")
Is there a way of using the DCount function on more than one query instead
of doing
=DCount("[Field1]","qryX","[Field1] IN ('a' , 'd' , 'n' ,
etc)")+DCount("[Field1]","qryY","[Field1] IN ('a' , 'd' , 'n' ,
etc)")+DCount("[Field1]","qryZ","[Field1] IN ('a' , 'd' , 'n' , etc)")
?
I have tried
=DCount("[Field1]","qryX" And "qryY" And "qryZ","[Field1] IN ('a' , 'd' ,
'n' , etc)")
but this does not work, nor does OR
regards
in control source, I use
=DCount("[Field1]","qryX","[Field1] IN ('a' , 'd' , 'n' , etc)")
Is there a way of using the DCount function on more than one query instead
of doing
=DCount("[Field1]","qryX","[Field1] IN ('a' , 'd' , 'n' ,
etc)")+DCount("[Field1]","qryY","[Field1] IN ('a' , 'd' , 'n' ,
etc)")+DCount("[Field1]","qryZ","[Field1] IN ('a' , 'd' , 'n' , etc)")
?
I have tried
=DCount("[Field1]","qryX" And "qryY" And "qryZ","[Field1] IN ('a' , 'd' ,
'n' , etc)")
but this does not work, nor does OR
regards