Repeating A Details Section Using Crystal Reports

This year I created a 1099 reporting module for our accounting system. One issue I came across occurred when I was pulling the information from Microsoft SQL into a Crystal Report. I couldn't find a nice, clean way to print two 1099s per page. Then it hit me. I could have two detailed sections. The first section would contain the fields necessary to display the data. The second section would act as a buffer and add white space to the report so I could print both 1099s on one page. I then came across the issue that every other page was blank. So, this is what I did:

  1. I created 2 Details sections, an A and B section.
  2. I added my printable fields to Details A
  3. I created white space in Details B
  4. Then, I suppressed the Details B section, but added a Basic Syntax function to the Suppress action. The function looked like this:

    Dim tmp as Boolean
    tmp = True
    If (Remainder (RecordNumber, 2) = 1) Then tmp = False
    formula = tmp
  5. I finally made sure that all sections were marked as Keep Together

This would ensure that I could create 2 details sections on a single page. Hope that helps!

Published Tuesday, February 13, 2007 4:48 PM by Jason N. Gaylord

Comments

# re: Repeating A Details Section Using Crystal Reports

Monday, September 10, 2007 5:07 AM by Shrawan Kumar

i want make crystal report in ASP.NET in new version 2005

# re: Repeating A Details Section Using Crystal Reports

Monday, September 17, 2007 8:28 AM by Kaibe

Please, I do not want to show the empty fields in my report.I am away that the only way it could be done is doing this at runtime, or may you help me otherways.

# re: Repeating A Details Section Using Crystal Reports

Wednesday, May 14, 2008 1:35 AM by Sourav Modak

I am new to reporting.Have to do some documentation using crystal report.Can u help me.I have no idea abt crystal report....

# re: Repeating A Details Section Using Crystal Reports

Thursday, August 07, 2008 2:12 AM by sjain

I want to display page header of a subreport .

Is it possible in Crystal Reports

# re: Repeating A Details Section Using Crystal Reports

Monday, April 27, 2009 11:48 AM by Tina

Hi, I had a question. Every time when I pull data in to my crystal report's detail section, I am getting duplicate data. Can anyone tell me why that happens and how to eliminate dups?

# re: Repeating A Details Section Using Crystal Reports

Wednesday, September 23, 2009 12:23 PM by Joe

How can I repeat that detail section X number if times based on a field value in the report?  Thanks

# re: Repeating A Details Section Using Crystal Reports

Tuesday, November 16, 2010 9:30 AM by Repeating A Details Section Using Crystal Reports depends on the data value

How can I repeat that detail section X number if times based on a field value in the report?

Pls Help me on this

# re: Repeating A Details Section Using Crystal Reports

Monday, April 04, 2011 4:42 AM by weblogs.asp.net

Repeating a details section using crystal reports.. He-he-he :)

# re: Repeating A Details Section Using Crystal Reports

Saturday, April 30, 2011 1:10 AM by weblogs.asp.net

Repeating a details section using crystal reports.. Dandy :)

# re: Repeating A Details Section Using Crystal Reports

Monday, June 13, 2011 2:50 AM by weblogs.asp.net

Repeating a details section using crystal reports.. Super :)

# re: Repeating A Details Section Using Crystal Reports

Thursday, June 23, 2011 11:37 AM by ols

hello! i'm using crytal report and i have to do something :

my sql request send four rows and i have to manage them like this

    country      country

    alaska       belgium

    cambodge     croatia  

on the Details Section

how can i do that? thanks for your help

Leave a Comment

(required) 
(required) 
(optional)
(required)