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

Suppose 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?

0 Answers  


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

5 Answers  


How to write a formula to change a font based upon data ?

2 Answers  


How do you format your crystal reports so that on exporting to word doc or pdf it will not lose the orginal format

3 Answers   Target,


How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?

0 Answers  






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

3 Answers  


How do we connect to the database?

6 Answers  


Where can we find the log file generated when we run a crystal report?

0 Answers  


HOW TO USE 5 CRYSTAL REPORT OR SUBREPORT ON DIFFERENT CONDITIONS IN ONE VB PROGRAM

1 Answers  


Explain basic steps required to display a simple report in crystal?

0 Answers  


Can we use Crystal report as a stand-alone application?

4 Answers   Covansys,


HI all, I am developing reports using crystal reports in VS2005 in windows application. I have two crystalreports name called "studentReport" and "familyReport". I have a form with a button. If I click the button I need to show up the two reports in one report like page1, and page2. The page1 consists the "studentReport" and the page2 contains the "familyReport". The "familyReport" contains different header and footer. How to show up the two crystal reports in single crystalreportviewer?

2 Answers  


Categories