Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Multiple Group Header Sections in Page Header. Post Reply Post New Topic
Author Message
Bhanu Prakash T
Newbie
Newbie
Avatar

Joined: 09 Jan 2012
Online Status: Offline
Posts: 7
Quote Bhanu Prakash T Replybullet Topic: Multiple Group Header Sections in Page Header.
    Posted: 09 Jan 2012 at 4:15am
Hi,
 
Iam using Basic Crystal Reports which comes with VS 2008 by default.
Here is my .rpt file design.
 
User will select a PRODUCT ID from the dropdown to generate the below report.
 
====================================================
Section 1 - Report Header - Have company logo & other details here.
 
Section 2 - Page Header - divided this into two sections.
 
Group Header Section 1
Total available product quantity : XXX
Total outstanding orders for this product : YYY
 
Group Header Section 2 - Column headings only
Column A    Column B    Column C    Column D
 
Section 3 Details - Data in all columns - these values are coming the DB.
10             20                 30                40
11             21                 31                41
12             22                 32                42
 
Section 5 Page Footer - Disclaimer
 
====================================================
 
One report can span between multiple pages.
 
Group Header Section 1 must be displayed only once in the first page of the product report.
 
Group Header Section 2 (column names) must be repeated in every page of the product report.
 
If user selects "ALL PRODUCTS" then reports for all products will be displayed one after the other i.e. As soon as the Product A report ends in Page 2, Product B report must start from Page 2 just below the Product A report.
 
Can anyone help me how to achieve the above requirement ?
 
 
 
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 12 Jan 2012 at 6:45am
won't work.
 
when product a is displayed the header will reflect the product a information. If product b starts right after product a, the page header will be incorrect...you would want to force a page break for the page header to work as desired.
 
repeating the column header on every page is just setting the property to repeat on every page (section expert)
for the only on the first page issue, you would want to use a flag that probably checks if the previous value is the same as the current and they do match to suppress the section.
 
 
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.047 seconds.