S
Sreedhar
I have a report that has to be generated every 15th and 30/31st (last day) of
every month. Instead of entering dates each time unless the user insists on,
I want to fix the period of report based on today's date, i.e. if today is
between 16 and 30, the report period will be 1st to 15th (last fortnight) and
if today is between 31 and 15, then it is 16th to 31st (again, last
fortnight). Hope I am clear in stating my problem.
Presently, I'm using the following Link Criteria on the Preview/Print button.
Dim stReportSpan As String
stReportSpan = "MyDate Between Forms!MyForm!txtStartDate And
Forms!MyForm!txtEndDate
Please help.
every month. Instead of entering dates each time unless the user insists on,
I want to fix the period of report based on today's date, i.e. if today is
between 16 and 30, the report period will be 1st to 15th (last fortnight) and
if today is between 31 and 15, then it is 16th to 31st (again, last
fortnight). Hope I am clear in stating my problem.
Presently, I'm using the following Link Criteria on the Preview/Print button.
Dim stReportSpan As String
stReportSpan = "MyDate Between Forms!MyForm!txtStartDate And
Forms!MyForm!txtEndDate
Please help.