Code:
Dim CheckDate As Long
CheckDate = DCount("[ACTUALDATE]", "tblDATEOpen", "[ACTUALDATE] = #" & Forms!frmAddIBTData_local!IBTDATE & "#")
txtCheckDate.Value = CheckDate
Code/
The above code keeps returning a '0'...it was working for several weeks and now suddenly stopped...even though tblDATEOpen does contain the required value!?
I'm stumped...help!
When I set the date to 12/03/2012 it returns a '0' but whe I change it to 14/03/2012 it returns a '1' (the number of occurances in tblDATEOpen) however both dates occur in the table..very strange..
Dim CheckDate As Long
CheckDate = DCount("[ACTUALDATE]", "tblDATEOpen", "[ACTUALDATE] = #" & Forms!frmAddIBTData_local!IBTDATE & "#")
txtCheckDate.Value = CheckDate
Code/
The above code keeps returning a '0'...it was working for several weeks and now suddenly stopped...even though tblDATEOpen does contain the required value!?
I'm stumped...help!
When I set the date to 12/03/2012 it returns a '0' but whe I change it to 14/03/2012 it returns a '1' (the number of occurances in tblDATEOpen) however both dates occur in the table..very strange..
Last edited: