Link to home
Start Free TrialLog in
Avatar of rporter45
rporter45

asked on

Export Sub Report to Excel

Hi there,

I have a report with four sub-reports one field in each) and now have to re-create the report so that it will export to excel.

Try as I might, these sub reports keep moving to the next rows below - does anyone have advice on how to make this come out on one line only?

Thanks,
CS
Avatar of Mike McCracken
Mike McCracken

Make all the data be in the main report.

Crystal export to Excel is designed to put the subreport on the next line since it has the potential to use many lines.  There is no way to get it to remain on the same line with the main report

mlmcc
Avatar of rporter45

ASKER

Hi there,

Thanks for the quick response.  The way the data comes out of the system, we have to use a sub report even for one line of data. (It's a nightmare I know!).  If I have even limited the line to one - does the above still apply.  It sounds sensible but just want to confirm.  

Thanks very much - have a good day!
CS
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you can't create a VIEW, SP, or Command to avoid the need for the subreport, another possibility is to use an SQL Expression (they can handle correlated query scenarios).
Alternatively, if you need to hit a different data source, there is at least one UFL that allows you to use Crystal formulas to run dynamic SQL expressions and return information from a data source even if it is not the same as the report.
Sorry for the delay in responding - Unfortunately the bridge between Crystal and the software that uses it does not support the use of SQL expressions :(  I have a couple that are exporting perfectly but wow does it take a long time to play with.  I will be back later today hopefully with the final outcome!

thank you - Colleen
Hi there,

I was able to do so (although time consuming) with limiting output to one line, aligning the data exactly and exporting minimal information.  

Thank you -
Colleen