How to refresh the crystal report from the application ?
Answers were Sorted based on User's Feedback
Answer / sivakumar_yandra
calling crystalreportcontrolname.reset (by selecting Report
menu under Refresh the report menuitem at design time)
will refresh the report
| Is This Answer Correct ? | 2 Yes | 3 No |
hi ... i've created one crystal report in windows form and one crystalreportviewer .. the following is my code.. in form1.cs file try { ExportOptions CrExportOptions; DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions(); PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions(); CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net- informations.pdf"; CrExportOptions = cryRpt.ExportOptions; { CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile; CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat; CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions; CrExportOptions.FormatOptions = CrFormatTypeOptions; } cryRpt.Export(); } the above code is saving the file into pdf into specified path.. but i dont want to save a file i should get direct print preview and have a option to print .. As we do in web application using crystal report viewer clicking print and report will be opened in pdf.. and the click print.. i want the same function as we do in web application... i'm writing code in c#.net hope the above explaination will be understood clearly..
Can we call or add subreport within subreport?
Where can we find the log file generated when we run a crystal report?
How to refresh the crystal report from the application ?
How do you format your crystal reports so that on exporting to word doc or pdf it will not lose the orginal format
How to add Crystal Reports(Standalone) to my VB.NET project
Suppose 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?
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
How many .rpt files are be there in a main report having 2 sub reports?
17 Answers Accenture, Cap Gemini, CTS,
where is the "save data with report" option?
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)?
Is there a way to export a report definition without writing code?
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)