Solved

Grouping/Page Breaks not working properly

Posted on 2011-03-08
2
236 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
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
sort by a cross tab in crystal report 2 53
Crystal Reports Format Field with Dashes 6 52
Crystal Reports total formula with groups? 4 56
free Crystal Report viewer 4 26
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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

837 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