on 2023 Sep 26 4:58 PM
I have the following setup:
PH
GH1
GH2
GH3a
GH3b
GH3c
Details
GF3
GF2
GF1a
GF1b
PF
There is a box surrounding all data from PH to PF.
Group2 filters the data and provides subtotals in GF2. Group2 has 'Keep Together' selected. After the subtotals is a line.
At the moment, the line is doubling with the box if there is more than one Group2 record per page.
I can suppress the line at the end of each report with:
'OnLastRecord' or '{OEORDH.ORDNUMBER} <> Next ({OEORDH.ORDNUMBER})'
But how do I suppress the line in the last Group2 per page to prevent it doubling with the box.
There is no way to remove the line at the end of the page. You could remove the line from GF2 and put it at the top of GH2 instead and see whether that gives a more acceptable layout for you. However, that will potentially give you a double line at the top when Group 2 starts at the top of a page.
Another option, instead of having your box from PH to PF, would be to do the following:
1. Put a box from the top of GH1 to the bottom of GF1b.
2. Go to the Options tab of the Group Expert for Group 1. Turn on either "Always Close Border" or "Close Border on Page Breaks" - you'll have one or the other depending in which version of Crystal you're using.
3. Put a box from the top of GH2 to the bottom of GF2. Set so that the sides are on top of the Group 1 border. Make sure that the Y position for the box is 0 so that it's at the very top of the GH2 section. Pull the bottom of the GF2 section up to the bottom of the box.
4. In the Options tab of the Group Expert for Group 2, turn OFF the close border option.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.