Print Page | Close Window

Schedule to Run Monthly Report

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21411
Printed Date: 05 May 2024 at 4:27pm


Topic: Schedule to Run Monthly Report
Posted By: vzh101
Subject: Schedule to Run Monthly Report
Date Posted: 31 Mar 2015 at 10:30am
I have report that need to be run monthly however I will have to schedule 12 times because it can only be run Once.

For example: User input 01/01/2015 to 01/31/2015


But I can schedule it to run Monthly too but the user will have to input date field to schedule. All I want to do is Schedule it to run 1st day of the Month but using last's month data.

For example: Report run on 2/1/2015 for 01/01/2015 to 01/31/2015 then next month it will run on 3/1/2015 for 2/1/2015 to 2/28/2015 etc...

Is there someone that come across this?



Replies:
Posted By: DBlank
Date Posted: 31 Mar 2015 at 12:21pm
I don't really understand what you are asking...
Are you asking how to schedule something, how to schedule something with defaults or how to conditionally set your selection criteria? Or something else?
 
You can set the selection criteria a number of ways but here is one possibility
{table.datefield} in lastfullmonth


Posted By: vzh101
Date Posted: 31 Mar 2015 at 4:09pm
Yes, I think you just solved my problem. I will try it out and let you know. Thanks!!!


Posted By: vzh101
Date Posted: 01 Apr 2015 at 4:20pm
It worked. Thank you so much!



Print Page | Close Window