mahmed1
Well-known Member
- Joined
- Mar 28, 2009
- Messages
- 2,302
- Office Version
- 365
- 2016
- Platform
- Windows
Hi Lovely people
I am trying to look at a table field in access to see if todays date exists in a column, if it does then dont run else continue however even thoigh the date doesnt exist - it still returns it as found - Please tell me whats wront with this code?
If DCount("Date_Ran", "tbl_Log", Int(Now)) > 0 Then
MsgBox "DB Has Already Been Updated"
Exit Sub
End If
I am trying to look at a table field in access to see if todays date exists in a column, if it does then dont run else continue however even thoigh the date doesnt exist - it still returns it as found - Please tell me whats wront with this code?
If DCount("Date_Ran", "tbl_Log", Int(Now)) > 0 Then
MsgBox "DB Has Already Been Updated"
Exit Sub
End If