Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Detail section

Status
Not open for further replies.

CRNew

Programmer
Jul 31, 2003
9
IN
Hi,

I have 2 details sections in my report. "Details a" section acts as header for information being displayed in "Details b" section.

So if the information in "Details b" section spans across pages then I want the information in "Details a" section to be displayed on the new page also. Is it possible without having to insert a Group ? Also I cannot move the contents of "Details a" section to Page Header.

Pls suggest.

Thanks,
 
Why not create a group header (even if it's a group for each detail record)?

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
adding a group is the answer...show us your example of why this is not desireable

Jim Broadbent
 
Adding a Group will solve the purpose.
But in the actual scenario I have 3 detail section "Details a" "Details b" and "Details c".

And "Details b" is a sort of header for "Details c" information. So I want to keep together the information in these two section only. Not really concerned with "Details a" section.

So if I add a group it will keep together all the 3 detail sections, am right ??

Any suggestions ......
 
IDO / Jim Broadbent,

Any suggestions on this........
 
If you want detail_a to appear once per page at the top of the page, this works if you only have detail_a and detail_b. However, if your "header" is actually detail_b (for detail_c), this will still give you one detail "header" per page, but it won't necessarily be the first line of the page. Create two formulas:

{@resetcntperpage} to be placed in the page header and suppressed:
whileprintingrecords;
numbervar cntperpage := 0;

{@cntperpage} to be placed in detail_a and suppressed:
whileprintingrecords;
numbervar cntperpage := cntperpage + 1;
cntperpage;

Then go to format section->detail_a->suppress->x+2 and enter:

{@cntperpage} <> 1

For this to work properly, I think the page header and group headers must also be suppressed, although this may not be feasible for you. Without suppressing them, one detail_b appears above the first detail_a on a page, and this same problem arises if there is another detail section before the one acting as the &quot;header,&quot; and I'm not sure how to get around that.

-LB
 
rather than painting possiblities....show us the layout of your report....tables and how you want it to look.

I fail to see why a detail section must be used as a &quot;header&quot; this is wasted space in a report since it repeats with every record.

Jim Broadbent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top