Dear all,
I am facing the following problem with dcount()
the following statement works perfectly well
=DCount("Numx","tx_container"," VehicleId = " & [VehicleId] & " AND CMRDate > " & [TempVars]![PR_006_LowerDate])
but when the above statement is modified to
=DCount("Numx","tx_container"," VehicleId = " & [VehicleId] & " AND CMRDate > " & [TempVars]![PR_006_LowerDate] & "CMRDate < " & [TempVars]![PR_006_UpperDate])
the whole thing goes for a toss and stops working
All help would be appreciated.
Many Thanks
I am facing the following problem with dcount()
the following statement works perfectly well
=DCount("Numx","tx_container"," VehicleId = " & [VehicleId] & " AND CMRDate > " & [TempVars]![PR_006_LowerDate])
but when the above statement is modified to
=DCount("Numx","tx_container"," VehicleId = " & [VehicleId] & " AND CMRDate > " & [TempVars]![PR_006_LowerDate] & "CMRDate < " & [TempVars]![PR_006_UpperDate])
the whole thing goes for a toss and stops working
All help would be appreciated.
Many Thanks