0
votes

I have a created a report using Crystal Reports 10. The report contains information about the activity of a person. I need to generate and export this report into PDF for a number of persons (e.g. 70) automatically and save each PDF file with the name of the person, so I will get 70 PDF files.

I have searched for a solution on the Internet but did not manage to find anything helpful. Can anyone help me with an answer?

Thank you!

1
You need to provide what you've tried so far and where you're stuck. Show us your code that you wrote until now to face this problem and then surely somebody wants to help you!KhorneHoly
are you looking for a tool or for code ?Lan
Until now I have only created a report with a parameter and I can generate a PDF with the information for all persons. So, the report is 2 pages long/ person, so I now have a PDF with 140 pages. I have downloaded a soft that splits this PDF into parts and I split and renamed each individual file manually. I am interested in knowing if anyone knows a solution for this that does not involve manual labor. If there is an option in Crystal Reports or I can do this with some code or tool, please let me know.user3844921

1 Answers

0
votes

You should hook up a parameter to the report's record filter - this way, you can make the report display only records for one particular person.

Then it's just a matter of writing a loop that sets the parameter value and exports a (uniquely named) PDF for each person.