I am trying to use the following code, but I think there is an error in my syntax:
Count = DCount("[Status In]", "Change Dates", "[Status In] = '" & [Forms]![Main]![New] & "' AND CVDate(Int( #" & [Date] & "# )) = #" & (Date) & "#")
I believe that this is the particular problem area:
CVDate(Int( #" & [Date] & "# ))
I've been messing with this for awhile now and it's just not working properly.
I'm trying to count the number of occurences in the [Status In] field within "Change Dates" where the [Status In] field within "Change dates" is a particular value on the form and the [Date] field within "Change Dates" is the current date.
Count = DCount("[Status In]", "Change Dates", "[Status In] = '" & [Forms]![Main]![New] & "' AND CVDate(Int( #" & [Date] & "# )) = #" & (Date) & "#")
I believe that this is the particular problem area:
CVDate(Int( #" & [Date] & "# ))
I've been messing with this for awhile now and it's just not working properly.
I'm trying to count the number of occurences in the [Status In] field within "Change Dates" where the [Status In] field within "Change dates" is a particular value on the form and the [Date] field within "Change Dates" is the current date.
Comment