Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Group and Detail section should be at same page Post Reply Post New Topic
Author Message
qasimali84
Newbie
Newbie
Avatar

Joined: 14 Oct 2008
Location: Pakistan
Online Status: Offline
Posts: 27
Quote qasimali84 Replybullet Topic: Group and Detail section should be at same page
     Posted: 08 Nov 2008 at 1:44am
Hi
I am developing a Crystal Report in Visual Studio 2005. My report have one Group Section and two detail ( detail a, detail b) sections. In group section I am displaying Test Categories and in Detail Section (detail a) I am displaying Test Result for particular Test Categories, in detail (detail b) section I am conditionally displaying a sub report against a particular testid from detail (a) section.

I want to display all test results against a test category on the same page. If this fit on the page it should display otherwise category name and all its test should be display on next page.

Thanks in advance
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 10 Nov 2008 at 6:19am
Sounds like it might be a 2 step solution.  1) right click on your group, select change group, second tab check 'Keep Group Together'.  This will do its best to keep all results on one page.  2) In Section Expert for your group in New Page Before formula enter Not OnFirstRecord. 
 
Step 2 might be optional, if you want only 1 test category per page, this would do it.  If you don't mind 2 or more per page (providing they fit because of step 1) don't worry about this step.
 
Hope this helps
IP IP Logged
qasimali84
Newbie
Newbie
Avatar

Joined: 14 Oct 2008
Location: Pakistan
Online Status: Offline
Posts: 27
Quote qasimali84 Replybullet Posted: 10 Nov 2008 at 7:21am
Thanks
IP IP Logged
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