|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Send multiple exports from a Crystal ReportOne of our local clients asked how they could do this and we had the solution already at hand. They had a report grouped by a region and wanted each region to get a CSV file with the data for that region. One solution was to use a parameter to select the region for the report and manually export the report for each region. This would be fine for up to 5 or even 10 values for the parameter, but would be tedious if there were hundreds of values. Another approach was to use the multirun feature of our cViewMANAGER and cViewSERVER report schedulers to run the report for each region and destination. The solution we selected was to use our Grid User Function Library to build a grid file for each group and then save that to a region-specific CSV file. Just viewing the report generated the files. The Grid UFL had additional formatting options and could calculate columns from the data without needing to display them on the printed page. User Function Libraries are installed on the machine running the report and accessed in the Formula Editor. Grid UFL provides you the proper control of your Crystal Reports
Export. The ability to export your reports to another application or format is
one of the really useful features of Crystal Reports. But when you do this, you
run into the limitations of both Crystal Reports and the other application. Grid
UFL helps you overcome those limitations. The Grid UFL processes as the report is processing. This means
you could use the GridCellClear in a Group header section, and the GridCellSave
in the matching Group Footer to created a different file for each group value.
Just watch out for those Repeating Group Header sections or you will find your
grid work area resetting on as each group repeats on a new page. You get these benefits:
This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd. It may be freely copied and distributed as long as the original copyright is displayed and no modifications are made to this material. Extracts are permitted. The names Crystal Reports and Seagate Info are trademarks owned by Business Objects. |