Solved

Print Multiple Reports Based on Multiple Parameters

Posted on 2008-10-27
6
282 Views
Last Modified: 2012-05-05
We currently have a Crystal Report that displays manhours expended by Job Number, Date, and Craft Name.  So the User currently enters the above 3 data entries into the appropriate entry boxes of the Crytstal Reports Parameters Window.  The User then prints the report and then re-enters the Job Number and Date, and changing the Craft Name as required.

Is there any way of automating this process  in Crystal, maybe entering more than one Craft Name in the Craft Name entry box (maybe comma delimited?), and then loop through each Craft Name and print (not print preview) a separate report for each Craft Name?

The psuedo-code would look something like this:
Parameter 1 = Job Number 1
Parameter 2 = July 1, 2008
Parameter 3 = Welder, Carpenter, Pipefitter, Painter

For each Craft in Parameter 3
     Print Report for [Parameter 1], [Parameter 2], [Parameter 3]
Next Craft

Thanks for your help,
Greg

0
Comment
Question by:CascadeGeneral
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 22814389
If the report is grouped by Craft within Job number wouldn't that do what you want?
0
 

Author Comment

by:CascadeGeneral
ID: 22814699
I need a separate report for each craft, showing only the manhours for their craft (Not a single report grouped by Craft Name).  The intent is that each craft only sees the manhours and other associated data for thier respective craft.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 22814747
Then the answer is No - you cannot do this from within CR on its own.

You may be able to create separate reports using third party addins or through the use of a 'driver program' written in VB say.

Look at www.kenhamady.com for add-ins.

0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 
LVL 23

Accepted Solution

by:
Ido Millet earned 500 total points
ID: 22818536
This type of functionality is called report bursting.  There is at least one Report Manager listed at http://www.kenhamady.com/bookmarks.html that provides this functionality whereby a single report generates a seperate printout/export/email for each group level 1 within the report.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 22819189
To stop the tap dancing around the answer, look for Visual Cut.

If you decide that is the solutiion, provide the point to the comment above.

mlmcc
0
 

Author Closing Comment

by:CascadeGeneral
ID: 31510390
Thanks also to mlcc
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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