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

hi.. i've created one crystal report. and one global resource file .. in crystal report there's one text object with id Text1. and i want to take the values of resource file i've got it CrystalDecisions.CrystalReports.Engine.TextObject Dtemp1 = ((CrystalDecisions.CrystalReports.Engine.TextObject)myreport .ReportDefinition.Sections["section1"].ReportObjects["Text1" ]); Dtemp1.Text = Resources.Resource.ResourceManager.GetString("Dsec1"); it is showing the correct value want i want but when i give print it is disappearing.. how to solve this please help me..

0 Answers  


Is there any feature like summing total in crystal report?

11 Answers   HCL, Sonata,


What does it mean when we get the error message "Invalid report version" when try to open a Crystal Report?

3 Answers  


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

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


Can we use our own SQL for creating a report?

5 Answers  






Kindly Help for this Below Scenario, I am going to implement Power BI into our internal software. I’m familiar with the fact that each user can pay $9.99 a month to build and view reports but what I need to know is how can we embed Power BI into our application so that any users that log into our application can see the reports without the monthly fee. I’ve researched enough that it can be done. What I am not familiar with is how to do it or the pricing of embedding it into an application. I think they do pricing on how many renders you do or something. Would you be able to look into how we could embed it into our software and the cost?

0 Answers   Cognizant,


how should i highlight a particular column in a report in actuate e designer report? It should be done dynamically while creating report Thanks in advance!!!!!!!!!!

0 Answers  


How many sections are there in the report

6 Answers  


How many sub-reports can report can have?

4 Answers   IBM,


Why do we use crystal reports when we have reporting tools in bo itself?

0 Answers   Tech Mahindra,


Reports can be optimized for web viewing using which of the following strategies: a. Using subreports instead of linking tables b. Avoiding maps c. Using the Page N of M special field to help users understand how many pages are in the report d. Saving reports as version 10 e. Avoiding reports with drill-down capabilities

2 Answers  


How do we format field?

4 Answers  


Categories