Hey guys, im stucked with Dcount. i have 2 questions
how do u return all values in certain filed. ? i was using
but how do u return any values (like there is no criteria). i was trying to use
and
but no luck for me here.
and the 2nd one is how do u return criteria using between ? i tried
but again no luck for me here as well.
how do u return all values in certain filed. ? i was using
Code:
=Nz(DCount("riskcode";"Tmain";"riskcode = '1'");0)+
=Nz(DCount("riskcode";"Tmain";"riskcode = '2'");0)
but how do u return any values (like there is no criteria). i was trying to use
Code:
=Nz(DCount("riskcode";"Tmain";"riskcode = '*'");0)
Code:
=Nz(DCount("riskcode";"Tmain";"riskcode = ''");0)
but no luck for me here.
and the 2nd one is how do u return criteria using between ? i tried
Code:
=Nz(DCount("riskcode";"Tmain";"riskcode = between '1' and '7'");0)