on 04-12-2012 4:59 PM
I have a data source with lots of records. My report generates multiple pages for each record. How can I export one PDF file for each record in the datasource?
If doing it programatically is the only way, that is okay too.
Programmatically or from the designer, it will be the same; Selection formulas. Pass in the record you want to export, and that will be in your PDF. In an app this would be more efficient as you could loop through and just keep on exporting each record one after the other. If you need resources re. app development, please post your query to the SAP Crystal Reports, version for Visual Studio discussion forum.
- Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At least one of the 3rd-party Crystal Reports schedulers listed at http://kenhamady.com/bookmarks.html provides bursting functionality so you can automatically generate the 2192 PDF files in a single pass.
Hi Glen
Yeah, I figured that's what you'd want to do. Unfortunately, app will be the way to go. And it will not need to be a big app. I'd say, as little as 10 lines of code should do the trick. The pseudo code would be something like:
loop through (4) and (5) for the number of records / exports we want.
And we do have sample apps and more that will help. If you want more info re. the app, please post them to that SAP Crystal Reports, version for Visual Studio forum. Not that I am trying to be difficult, but in this way, we'll keep things a little bit organized .
- Ludek
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.