Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Crystal Reports 8 Dev. - Sub-Reports and Grouping

Crystal Reports 8 Dev. - Sub-Reports and Grouping

Crystal Reports 8 Dev. - Sub-Reports and Grouping


I am having a heck of a time getting the following to work and perform properly.

Env.: VB6 (SP3), SQL 7.0, Crystal Reports 8.0.441 (Dev. Ed.)

I have a main report with 2 groups and 2 sub-reports which are all based on parameterized SQL stored procedures.  In every group footer, I place a sub-report and link its parameter to the value in the current group footer.  This is extremely slow as it must execute an SQL stored proc. with the passed parameter for every sub-report in every group footer.  The sub-reports contain all the data as the main report, except that it is grouped, sub-totalled, and summed in a different manner and is quite complex.

We've tried to pass an ADO recorset to the main report and its sub-reports.  In the sub-reports though, we would need a different flavour of the main totals (different grouping, sorting, etc...).  How would we be able to manipulate the ADO Recordset to generate the needed information for the sub-reports?

Any help is greatly appreciated.

RE: Crystal Reports 8 Dev. - Sub-Reports and Grouping

Linked subreports are going to be slow.  

Are you sure you can't get rid of them.  If it is the exact same data as the main report, just anaylyzed different ways, you might be able to use cross-tabs.

Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close