Hi Guys,
Based on this idea, I am building a similar function.
Instead of sending a report weekly, I would like to do it only once per month.
I am now building the check to see if the report from this month was sent already or not.
Code:
If DCount("*", "tblKpiReporting", "#" & Format([ReportDate], "mm\/yyyy") & "# = #" & Format(Now, "mm\/yyyy") & "#") > 0 Then
The ReportDate field is a Date/Time field and will be filled with Now through an SQL Insert statement whenever the report is sent.
My code keeps giving Error 13: Types don't match.
Any idea's?