How to make changes in sub-report added in detailed section? - crystal-reports-2008

How to make changes in sub-report in detail section when it is not visible ?
I want to make changes in sub-report which is added in detail section
at design time.
Problem : Details section is not visible.
Explanation : I have Report A and two sub-reports B and C. Firstly, when i have designed the report i was able to make changes. But when i copied the report to some different location to make changes in it, the detail section with sub-reports is not visible.
Could any one please tell what problem is this.
I am stuck of this. Please help.

Related

Is there a way to autoadjust subreports when they're supressed by a custom condition or blank?

I would like to know if there is a way to autoadjust the subreports of a Crystal Report document when they're supressed by a custom condition or wheter they're blank.
I currently have the layout of the report as defined in this image
If there is no records to show in the "CMDA del Turno" subreport then it isn't visible but the whitespace remains, as shown in this image:
My goal is to set the positions of the reports automatically so it can appear this way:
Is there a configuration i'm missing to achieve this?
Thanks in advance
To do this you will need to isolate the sub-report into a section that contains nothing but the sub-report. You can do this by adding two additional Details sections to your report. The top-most details section will contain all of the report objects that are printed above the sub-report. The bottom-most details section will contain all of the report objects that print below the sub-report. The details section in between will contain the sub-report. Now set all sections of the sub-report to "Suppress when blank" using the Section Expert, then set the middle details section of the main report to "Suppress when blank" as well using the Section Expert.
Now right-click the sub-report and click on "Format Subreport...". Then go to the "Subreport" tab on the Format Editor window and check the box for "Suppress Blank Subreport".
Be aware that the label that prints to the left of your sub-report will need to be relocated inside the sub-report for this to work though. You should be able to set the sub-report to the same width as your main report and then you should have room in the sub-report for the label object as well.
Once you have followed these steps, the report should display as desired.

suggestion where to look to find why my report has extra blank pages

I am on Msoft SQL Server Report Builder, v15.0
I have a multi page report that no matter that forces a blank page every 2nd page.
I have searched through the tablix properties, report properties, header & footer properties and have not found a culprit yet.
I fear that there are somehow some hidden pieces that are causing this issue, but I do not know how to be able to see the hidden pieces.
I have opened the .rdl file up in notepad++ and started walking through the code, but I am not certain where I should look at in there that would cause my problem.
It is a 10 column report that is generated from a dataset culled down, but the report has 3 calculated fields in it, including a column which generates a ranking number.
If you know of a explicit piece of code I should search for that would be awesome, but I know that is a needle in a snowpile.....
Found finally what I had done...
my durn body was the same width as the page sheet so it was pushing the margins off and creating a new page.
Here is a good walk through of what I found.....
http://www.keepitsimpleandfast.com/2009/12/export-of-reporting-server-reports-to.html

Orbeon section in wizard view unclickable after setting visibility=true at runtime

I have a yes/no fields that controls whether the next 3 sections are visible (relevant) or not. It works fine, but as soon as the visibility state is changed at runtime, the sections cannot be clicked anymore in wizard view! I also cannot navigate to them using the prev/next buttons at the bottom. Is this a bug?
I defined rules for all sections that have a conditional visibility state:
relevant="$control-1 eq true()"
Is there another way i could do this, maybe as a "global" XPath expression?
Demo
This looks like a bug. We fixed a very similar one with #3547, but I entered a new bug since this is failing again, see #3610. Please follow-up there.

How can I avoid to get the rows of two different sections alternated?

First of all, I'm really a newbie in Cystal Reports, so please have patience with me on this.
So, I've got to display two lists, independant, one below the other. To accomplish this, I manage to insert two detail sections, both with properties from different commands.
But the preview is not showing what I would expect...
As you may see from the highlighted rows, both lists are mixed, which is not what I'm looking for.
Could anyone tell how can i do this?
This is default behavior of crystal report.
Add two linked sub reports in detail sections respectively.
If you want to display two unlinked datasets your best option is to use (a) subreport(s).
Place one command in the main report to return your first dataset which you can display in detail section.
Place a subreport with your second command in one of the report footer sections (inside the subreport you can place the dataset fields in the detail section).

Programmatically Insert Page Break in ActiveReports

I've been scouring the web for a good example, but cannot figure out how to add a page break to an ActiveReports report programmatically. The reports I'm working with usually require 1-2 pages for each record. In order to support dual-sided printing of the reports I want to insert a blank page for each record that uses an odd number of pages, ensuring that each new record is printed on the front of each printed page.
I'm very new to ActiveReports, so any suggestions, code samples, or links are much appreciated!
There are two ways to do this and the best option depends on the data and your report.
Option 1: Page Break Control
You can add the PageBreak control to the report in a specific location and programatically set the Enabled property of the PageBreak control to determine whether it creates a page break or not. See this page for documentation on the Enabled property of the PageBreak control:
Option 2: Section.New Page
The other option is to use the NewPage property of the section. In this case you can set the NewPage property of the Detail or GroupHeader or GroupFooter section to trigger a page break. Try setting it from the Format event of the section. See this page for documentation on the NewPage property.
The support forums dedicated to ActiveReports support on the GrapeCity website are active and also a great way to get suggestions and help on ActiveReports.
Hope this helps!
EDIT : Links fixed

Resources