Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Linked sub-report loops 10x Post Reply Post New Topic
Author Message
Capson
Newbie
Newbie
Avatar

Joined: 23 Jan 2013
Location: United States
Online Status: Offline
Posts: 20
Quote Capson Replybullet Topic: Linked sub-report loops 10x
    Posted: 27 Mar 2013 at 11:55am
I have made a report based on four linked sub-reports.

All four reports work as desired as stand alone reports.

The linked report that contains the most data and charts loops 10x all the other sub-reports are present only once!

Ihave the sub-reports in

GH1a
GH1b
GH2
RF

The offending sub-report is in GH2

Thanks


IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 Mar 2013 at 3:40am

when you say loops do you mean it runs teh sub report 1 time but inside that report returns 10 time sthe expected data or do you mean it runs ten times inside the main report?

By placing it in the GH it will run one time per group that is printed in the main report.
So if you have ten group results in the main report you can expect it to run 10 times.
IP IP Logged
Capson
Newbie
Newbie
Avatar

Joined: 23 Jan 2013
Location: United States
Online Status: Offline
Posts: 20
Quote Capson Replybullet Posted: 28 Mar 2013 at 8:51am
DBlank,

Yes to the latter, I am pretty new to CR and from what I have read I thought it was a grouping problem.

Your response is the simplest, clearest explanation I have read that gives me a place to start changing my report from.

So I have placed the subreport in to GF2 and now it works as hoped for!!!

Thank you!!

Edited by Capson - 28 Mar 2013 at 8:55am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.