Solved

Automate Dynamic bi-monthly report

Posted on 2012-03-13
2
311 Views
Last Modified: 2012-06-27
I would like to automate a report on the 15th of each month to get the 1st to 14th data.  I would then like the report to run at the end of the month to get the 15th to the end of that month.  Can you help?
0
Comment
Question by:trinisunset
2 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 37716162
DO you have Crystal Server or similar report manager?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 37716382
What tools do you have to automate or schedule the report?

You can setup a selection formula like this if you run it on the 15th and 1st

If Day(Today) = 15 then
    {YourDateField} In DateSerial(Year(Today), Month(Today),1) to DateSerial(Year(Today), Month(Today),14)
Else
    {YourDateField} In DateSerial(Year(Today), Month(Today)-1,15) to Today -1

If you want to be able to run it on other days of the month define the range and a similar formula can be produced.
For instance running any day 1-14 uses the last half of last month and any other day use first half of this month

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now