Crystal Reports: Suppress entire report including blank page when no records - crystal-reports-2008

I have multiple reports that are automatically printed through another program, and often times the there is no records for that specific report, but since it is automatically triggered it attempts to generate and print the report.
Using suppression formulas, all sections now appear blank and I only have a clean white page remaining (this includes all subreports, page headers, footers, etc. I have tested to ensure that each section is actually suppressed and not just blank).
However, this blank page is still being 'printed' as program printing it still views the blank page as a report.
How do I essentially suppress the entire report so that not even a blank page appears?
A little more info:
The program printing the report generates very basic input parameters for the report, which is a link to a table in the database that is used to gather all the information for the report (basically the printing program always has data to send even if the report is blank).
I am using crystal reports v12.

Related

Printing issue with SSRS report

I have run into a problem with an SSRS report..... The report will generate around 20 pages, with unique data on each page. I have used a page break to do this.
At the top of each page is some data referring to each page.... a vehicle reg number, a driver name etc. This data is coming from an expression. reportitems!.columnName.Value & reportitems!.columnName.ValueWhen the report is run, in design mode, or viewed in Chrome after being deployed, each page has the correct data at the top of the page.... the driver name changes etc.
However, when the report is printed from the browser, or exported to a PDF, the data at the top of each page is now the same. Basically page 1 info is repeated on each page. The report data is still unique on each page, but the reference at the top has now repeated.
Has anyone ever encountered a similar problem, or any idea what may be causing this? I am very confused, as before printing, the report is showing all data as expected.
The 2 images show page 1 and 2 of the report, both numbers in the expression are different.
This image shows page 1 and 2 in the PDF, both numbers are now the same.

Oracle APEX Report with Master and Detail Sections

I want to create a report in Oracle APEX, which has both master and detail section, where the master section gets displayed repeatedly on every page of the report (like name, address etc), and the detail section gets displayed after the master section. Pretty much like a back statement, the name, address, account number etc are displayed at top on every page of the statement, and the transaction history is displayed afterwards.
I am able to generate an APEX report like this, but the issue I have is the printing. I tried classic and interactive report both, and the print function that comes with APEX report only exports the contents that's returned by the sql. If I create any other page items to store and display such as name, address etc, it won't be displayed on the pdf that's exported by the print function that comes with APEX report.
Like the below example, is there any way to display "Store No: 2102" on every page of the pdf that's exported by the print function that comes with APEX report?

Birt hyperlinked reports in single page

Is it possible to have 3 reports all linked to each other on a single page.
Suppose I have 3 reports. First one drills down to second and second drills down to third i.e. on clicking on first report the second opens and on clicking on second the third opens. Also the second report needs parameters which are passed down from the first report.
Now these reports open up in a new page on clicking. I want the second report to open below second report and third below second. Is this possible??
Short answer:
Yes
Longer answer:
There are a number of different ways of combining reports and linking them to each other in BIRT. Reports can be delivered as web pages, PDF, Excel, etc. Obviously differing deliveries would want different solutions.
If your are delivering to PDF where the report would be printed, you can essentially put three reports (tables) on the same document which all show the results based on the same parameters
If you are delivering as web pages you can have links in pretty much any place on the report that will jump to another report using a value as a parameter (i.e. Report1 = everything for a week; click on "Monday" see Report2 with just everything from Monday; click on "Noon" and see Report3 with just everything from Noon.

Merge multiple Birt reports into one

I have seen all the samples of the Birt reports available in eclipse - they do not say how to have multi paged Birt reports - as in what if I have ten tables - and all of them producing different data - These cannot be put in one page.
So how do I add multiple pages to one report?. Or if that is not possible - how do I club multiple reports (Each report containing one page design only :( ) together - without any page breaks
Can we do this without any programming? If not, can someone point to example source code - where merger is demonstrated ?.
I don't know of any tool to combine separate reports automatically.
The simplest way to combine multiple reports into a single report is to copy and paste the report items from the layout tab (Tables, Charts, Cross Tabs etc) of each of the original reports into the layout tab of the combined report.
You can force page breaks between different report items on the Page Break section of the Properties tab within the Property Editor for the relevant report items.
You will need to ensure that the combined report has all required data sources, data sets and report parameters - these can be transferred from the original reports by copying and pasting from the Data Explorer within the original reports, into the Data Explorer in the combined report.

Use report components several times during report generation?

I'm maintaining a project which uses a pretty hefty Crystal Report and, during moving from VS2008 to VS2010, the report just stopped working at runtime (but it still Previews just fine. Go figure.), so I'm having to reconstruct it from the ground up.
During report creation, several parts of the report are used more than once. The following section shows the basic layout of the main report page (each bullet point represents a different section of the Main Report form), along with the behaviour of each section.
On Page 1
The first section of the main report form is empty, but the empty space in it appears not to print
The second section of the main report is printed
The third section of the main report is not printed
The fourth section of the main report is printed
Subreport A may be printed, depending on a data element
Subreport B is printed
SubReport C is not printed
Main report footer is printed
On Page 2
The first section of the main report form is empty, but the empty space in it appears not to print
The second section of the main report is printed
The third section of the main report is printed
The fourth section of the main report is not printed
Subreport A is not printed
Subreport B is not printed
SubReport C is printed several times, according to the number of rows returned by a query, one printing for each query
Main report footer is printed
If SubReport C is printed enough times, another copy of Page 2 will be printed, with the two main report sections (2 and 3) reprinted on each page.
What I want to know is where I can program these things to happen. I can't seem to see any code that's actually giving these instructions. The only code that's used to generate the report at runtime is, reportObject.ExportToDisk(), so it's not being done there.
Go to Report->Section Expert and you'll see all the options you're talking about. For each section & subsection, this is where you can suppress sections, move content to new pages , etc. (Once you're in there, you can F11 for help.)
To activate an option only on certain conditions (like the value of a field), use the X-2 button to enter the Formula Editor. In most cases, you'll have to make a formula that results in a boolean value.

Resources