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 many Sub Reports added in One MainReport?

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


Where is the image located, after youve placed it on the report?

0 Answers  


Can we use our own SQL for creating a report?

5 Answers  


reporter footer contents are move depend the page footer values...........

2 Answers  


Can we call or add subreport within subreport?

10 Answers  






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  


I had an Interview yesterday for a Crystal Reports Developer position. Some of these I have not done in my reporting experience and I had just a half day's notice for the interview, hence no prep time :-( 1) Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainity if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all teh reports at run time? 2) What is a SQL expression? 3) What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions) The interviewer really got me confused as I felt he was not clearly setting forth his questions but it could be that I was unable to understand his wording of the questions. I expect a big zero from his feedback but I am hoping this is an experience for future interviews that I face in crystal reports when I do get some more lined up. Thanks in advance! Anita New Jersey, USA.

5 Answers   Barclays,


Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?

0 Answers  


Can anyone help me with an answer to this question? Where is the image located, after you've placed it on the report?

2 Answers  


How to access crystal reports in .net?

0 Answers  


Explain the various components in crystal reports?

0 Answers  


If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?

0 Answers   IBM,


Categories