Link to home
Start Free TrialLog in
Avatar of Sue Taylor
Sue TaylorFlag for United States of America

asked on

Crystal Reports Formula end of the month and previous

I want to automate a report to run on the first of every month to show past due items and items that will be due for the month.  So on 10/1/14 I want to run the report and it will filter anything with a date of 10/31/14 and before.  How can I do that?
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
When you say "automate" , do you mean that you are going to run the report manually and you want it to get automatically the month data ? The other option is to set something to run the report for you at the beginning of each month and send it to you by email so you can stop thinking about it at all. What is your goal ?
With case 1 you need to set the logic to get the month period inside the report and mlmcc explained how to do this. With case 2 you can set the month period in the scheduler, which is going to run the report for you. You need to define 2 parameters in your report : Start Date and End Date for the beginning and the end of the reporting period and ask the scheduler to fill the current month dates there.