T
TESA0_4
Hi,
The following two DCount expressions are returning the correct values.
DCount("[HazID]", "tblHazReg", "[HazStat] Like 'ARCHIVED'")
DCount("[HazID]", "tblHazReg", "[QRID] = " & Me.txtQRID.Value)
However, what I want to do is combine the criteria from the two expressions
with an AND statement. I just don't seem to be able to get the syntax right.
Can anyone help me out?
The following two DCount expressions are returning the correct values.
DCount("[HazID]", "tblHazReg", "[HazStat] Like 'ARCHIVED'")
DCount("[HazID]", "tblHazReg", "[QRID] = " & Me.txtQRID.Value)
However, what I want to do is combine the criteria from the two expressions
with an AND statement. I just don't seem to be able to get the syntax right.
Can anyone help me out?