Link to home
Start Free TrialLog in
Avatar of Mike Johnson
Mike JohnsonFlag for United States of America

asked on

Crosstabs versus subreports... which are better in a group footer

I need to do some summarizing in my crystal reports group footer.   I know that you shouldn't use "subreports"  in the detail or  group footer because to  the overhead, but are crosstabs any better?  Would a crosstab be more efficent and less overhead in this situation?
Avatar of vasto
vasto
Flag of United States of America image

Subreports should not be used in the details section because it is a separate report with a separate call to the database. Pacing it in the details section means that a new report will be started for each record in the details section of the main report. Crosstab is a calculation inside the same report and even if there will be some additional processing , it should be not so bad as the subreport. I would try the crosstab.
Avatar of Mike Johnson

ASKER

Thanks
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
Just curious... I'm assuming the "crossTabs" use the main report query, as were with the subreports have their own query.  Thus the increaased I/O with the subreports?
Avatar of Mike McCracken
Mike McCracken

Yes, that is in general true.

Sometimes the subreport effect is negligible other times it is very noticeable.

mlmcc