Results 1 to 3 of 3

Thread: [RESOLVED]Set number of groups per page programmatically in Crystal Reports

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2009
    Posts
    245

    [RESOLVED]Set number of groups per page programmatically in Crystal Reports

    Is it possible to set the number of groups per page programmatically in Crystal Reports?

    Thanks
    Last edited by erik; Jul 9th, 2009 at 03:56 AM.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Set number of groups per page programmatically in Crystal Reports

    There is no groups per page option but you can force a page break at anytime.

    For each Section you can specify a "New Page Before" or "New Page After" formula. If the formula evaluates to True, the next section will start on a new page.

    For example, only two groups will print per page if the following code is placed in the Group Footer's "New Page After" formula.

    GroupNumber Mod 2 = 0

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2009
    Posts
    245

    Re: [RESOLVED]Set number of groups per page programmatically in Crystal Reports

    You are the best! It worked great. Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width