I have an interesting problem in trying to get report dates. I have a query to report a count of certain records. a report is linked to this query that is run each day and gives the total by day starting at the begining of the month through the current day. I t is run each moring for the previous day. I use the follwing as criteria in the date field to return the appropriate records.
Between DateSerial(Year(Date()),Month(Date()),1) And (Date()+1)
This works fine for everyday but the first day of the month which should be returning records for the 1st through the last day of the previous month.
Any thoughts out there on an answer??
Between DateSerial(Year(Date()),Month(Date()),1) And (Date()+1)
This works fine for everyday but the first day of the month which should be returning records for the 1st through the last day of the previous month.
Any thoughts out there on an answer??