I have a crystal report with a linked subreport as well. is
there any way not to print the current record on the main
report if no records are returned from the subreport?
thanks you

email - stanlte@yahoo.com

Answers were Sorted based on User's Feedback



I have a crystal report with a linked subreport as well. is there any way not to print the current..

Answer / sukhveer rai

yes, we can achieve that using shared variables as
mentioned already. however, should also make sure that the
subreport values should come to the primary report before
the section you have records on..

Is This Answer Correct ?    6 Yes 0 No

I have a crystal report with a linked subreport as well. is there any way not to print the current..

Answer / sajal kumar

Rather using Shared Variable to Suppress subreport, we can use
"Suppress Blank Subreport" Option from Subreport Format Editor.

Perform following step
1. Right-Click on Subreport and Select the Format Subreport Option.
2. On the Subreport Tab, Mark the "Suppress Blank Subreport Option" checkbox.

3. now on the main report, click on the section expert of the section where Subreport is placed and mark 'Suppress Blank Section Option"

Here you done with you requirement..

Is This Answer Correct ?    7 Yes 3 No

I have a crystal report with a linked subreport as well. is there any way not to print the current..

Answer / jo mathew

YOU HAVE TO USE SHARED VARIABE AND PASS THAT VARIABLE TO
YOUR PRIMARY REPORT, THERE YOU HAVE TO USE THE CONDITION.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Crystal Reports Interview Questions

how to create crystal reports in .net

2 Answers   CTS,


how can we convert crystal dictionary dc5 file to another datasource format like mdb or xml schema

0 Answers   CSC,


Explain reporter footer contents are move depend the page footer values?

0 Answers  


How to pass stored Procedure Parameters to the report?

2 Answers  


How many Sub Reports added in One MainReport?

4 Answers   Amadeus, Aviva, CTS, Patni, Welkin,






What are the sections that we have in Crystal reports?

11 Answers  


Can we export data of reports into other format like in world doc etc?

5 Answers  


How can we improve the performance of a crystal report?

0 Answers  


How to refresh the crystal report from the application ?

6 Answers   Satyam,


How many types of reports can be generated in crystal reports?

7 Answers   Finite Infotech, Precision Techconet, VMware, winfoware,


I am not able to see any image on Crystal Report at Run time. So how can I load any image which is saved in local disk so that it can be viewed at Runtime in Crystal reports?

5 Answers  


where is the "save data with report" option?

2 Answers  


Categories