Hi,
I'm trying to see if the count of closed records this month is equal to 0. I have the following code"
But am getting compile error mesage: expected expression at the first ' at the second mmyyyy.
Any help would be greatly appreciated.
Sydney
I'm trying to see if the count of closed records this month is equal to 0. I have the following code"
Code:
If DCount("*", "qryMainForm", "Format([completeDate],'mmyyyy')= " & Format(Date(),'mmyyyy') = 0 Then
msgbox "blah"
exit sub
End if
But am getting compile error mesage: expected expression at the first ' at the second mmyyyy.
Any help would be greatly appreciated.
Sydney