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
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 |
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 |
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 |
How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?
What are the advantages or disadvantages of using Crystal Reports in a Windows Forms application as opposed to say rolling our own reports as HTML and displaying them in the Internet Explorer control?
Can we add any database field once we have chosen ?Close? button?
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..
How to add Crystal Reports(Standalone) to my VB.NET project
How to conditionally suppress a field based on whether a page number is odd or even?
How to print two details fields at the bottom of the page
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?
Can anyone help me with an answer to this question? Where is the image located, after you've placed it on the report?
how to create crystal reports in .net
hi...to all i want to generate the two crystal reports one is employee and another is project. now i want to display the two reorts in a single crystal report viewer. i've tried using sub-reports but the page header is not avaliable in a sub reports.. so i want to display two separate crystalreports in a single viewer.. can anybody help me.. plz
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!!!!!!!!!!
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)