Solved

Grouping/Page Breaks not working properly

Posted on 2011-03-08
2
237 Views
Last Modified: 2012-05-11
We defined the following formula (@Grouping_OptionalRoom)
'***************************************
' Group By Room, Or Duplicate Previous Group
'***************************************
If {?RoomSort} = "Yes" Then
    Formula = {tblBarCodeLabelsPrinted.Room}
Else
    Formula = {tblBarCodeLabelsPrinted.Grade}
End If

Open in new window


We created a group based off of said formula and created a page break on the footer of this grouping based off of the following formula
If {?RoomSort} = "Yes" Then
    Formula = True
Else
    Formula = False
End If

Open in new window

We are finding that the report is grouping by Room but not "page breaking" by room.

Any ideas/help would be greatly appreciated.  We've tried everything we can think of but the page breaks just wont hit.

Thanks
0
Comment
Question by:rev0304
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
GJParker earned 500 total points
ID: 35070978
I take it by page break you mean you are addinga conditional formula for new page after the groupfooter section ?

Yuu should be able to go to the section expert for the (@Grouping_OptionalRoom} group footer, select the x->2 button to teh right of new page after and enetr your formula their or leave teh formual as crystal syntax and just use  {?RoomSort} = "Yes"

If this doesn't work then supply more details of the layout and groups in your report
0
 

Author Closing Comment

by:rev0304
ID: 35086967
Thanks for your help
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question