I have a Section that only contains a SubReport.
I have a formula on "suppress (no drill down)" that hides the subreport. This works.
However it leaves a big blank white space where the subreport would have been if it was visible.
I have ticked "Suppress Blank Section" and unticked "Keep Together" on the surrounding sections without any effect. How do I change it so my hidden/suppressed section does not display any empty white-space?
I am using Crystal Reports 11.
UPDATE It may not be the blank sections causing the issue, could it be the 2nd sub report which I do want to show is 2 big to fit on the first page so just starts on the 2nd page. I have unticked "New Page Before" and "Keep Togeather" for it
OK, I sorted it out.
The problem was the next subreport / section I wanted to show was too long to fit on the first page so was starting on a new page each time.
To fix I had to right click the subreport click "format subreport" then click the subreport tab, then untick "Keep Object Togeather"
You will have suppress blank section in the sub report as well. Try checking this suppress blank section in all the sections of the subreport. It should work for you
Use same or similar formula (which you use for subreport hiding) for main report section supressing too. "Supress blank section" doesn't work well with subreports.
Right click on the subreport. Format Subreport -> Subreport -> Suppress Blank Subreport.
This option is available at least on version 11.5.x
Related
I'm trying to make a minor fix to a Crystal Report that I have inherited. I can't see the section that has the field I need to fix, so I can't tell exactly where the field is. When I bring up the section expert I can see that there are several sections that are suppressed. But the suppression condition is something like "Pagenumber>1", meaning that the section is always going to show up on the first page of every report. But I still can't see the section so I can edit the fields. How can I make all sections visible for editing, regardless of their suppression conditions, so that I can find what I am looking for and edit it?
I have tried removing the page suppression temporarily, and that works, but this is rather clunky and time consuming when there are a lot of suppressed sections.
If you right click in the designer within a section where there are no fields, you should get a menu that has an option called "Show Hidden Sections in Design". Click this option on the menu to enable it and that should allow suppressed sections to show in the designer. Suppressed sections will have diagonal lines running through the background to make it apparent that they are suppressed until a condition is met that allows them to be displayed. Here is a screen shot showing the menu with the option I'm referring to highlighted with a red box.
Alternatively, if you can't get this menu to display with a right click, you can access this setting through the File menu. Click "File", then select "Options..." to open the Options window. On the "Layout" tab of the Options window you will find the "Design View" group in the top left corner of the window. "Show Hidden Sections" should be the last check box in this group.
I have created 5 sections in crystal report and I want section 3 to be on top of section 2. I tried dragging the sections but nothing changes.
I have found the answer under Section Expert. Highlight the section you want to rearrange the click the arrow beside the Merge Button. Changes will appear after clicking OK.
I have created a sub-report and I have empty place in the right side of my custom_group in my master report. I want my sub-report be in this position (in the right side of custom_group in the master report).
Does any one know how to do it in iReport?
Are you just looking to move the subreport? Click the subreport in your master report. In the Properties menu, set the Left position.
If you're looking to do more than just move it, post your JRXML file so we can take a look at it.
You need to modify the subreport and set the margin for it to 0. For that open your sub-report in iReport, in the Report Inspector right click on the report and click Remove Report Margins. Then save your sub-report and re-run the parent report (hit the compile report icon on top of the Report Designer to enforce the re-compile of all report resources): the sub-report's margin will be gone, there won't be any whitespace on the left side.
I'm still new to Crystal Reports, and am completely stumped. I have a table of 100 accounts (fields are acct_id and sub_ind, which is '1' for all 100 accounts). I want to suppress the subreport only if the account is on the table. I've tried multiple possibilities in the suppress formula (x-2). I've gotten the entire report suppressed for everyone but the accounts on the table; I've gotten the subreport suppressed, except that a box comes up where the subreport would be. Is there a solution that would suppress the subreport only for the accounts on the table?
Thanks for your help!
If you're seeing a black box outline, right click on the subreport, go to Format Subreport, click on the Border tab. Make all of the Line Styles "None".
If you have the subreport in its own section you can right click in the grey part part to the left of the screen, go to Section Expert, and then under the sections find the section where the subreport is located and click on it. On the common tab about 1/2 way down you'll see a "Suppress Blank Section", click the check box.
Hope this helps.
I am trying to modify a report for a company but the code editor seems to be uneditable. The report has s details section where I want to conditionally suppress rows. When i click on the X-2 editor for the Suppress Blank Rows section the Non Drill Down section's code editor view contains code, but cannot be changed. The background is grey and cannot be changed. Does anyone know how or where to edit the code for this section?