T
Todd
I am trying to pull up a report that will filter out any records where a data
field, Date_End, is less than the current date. The user will enter
information and indication a start date and end for the record. I want to be
able to generate a daily report with all records where the current date falls
between the start and end date the user entered. I figured the easiest way
to do this would be to simply only pull in any record where the DATE_END
value is greater than the current Date.
Below is what I have and it does not seem to work. I assume since DATE_END
is a recordset, I must not be calling that data correctly.
Dim strwhere As String
strwhere = "[Date_End] >= Date()"
DoCmd.OpenReport "Rpt_DailyEvents", acViewPreview, , strwhere
Any help would be appreciated.
field, Date_End, is less than the current date. The user will enter
information and indication a start date and end for the record. I want to be
able to generate a daily report with all records where the current date falls
between the start and end date the user entered. I figured the easiest way
to do this would be to simply only pull in any record where the DATE_END
value is greater than the current Date.
Below is what I have and it does not seem to work. I assume since DATE_END
is a recordset, I must not be calling that data correctly.
Dim strwhere As String
strwhere = "[Date_End] >= Date()"
DoCmd.OpenReport "Rpt_DailyEvents", acViewPreview, , strwhere
Any help would be appreciated.