C#. hi all. I got an error while generating the report error like. Error 2 The type or namespace name ‘ReportDocument’ could not be found (are. Hi,I have found that since upgrading to SP15, setting ReportDocument. RecordSelectionFormula to anything else (e.g. appending additional filter criteria ) resets. The ReportDocument class is the base class for all reports. NET or C# isn’t important. Each report is a class that inherits from the ReportDocument class.
|Published (Last):||5 December 2005|
|PDF File Size:||7.39 Mb|
|ePub File Size:||9.59 Mb|
|Price:||Free* [*Free Regsitration Required]|
Get the best selling Crystal Reports. NET book on the market! NET reporting solutions with this expert guide.
This is an excerpt from the book Crystal Reports. Click to read more chapter excerpts. Its properties give an application the ability to thoroughly examine all the report objects.
Many of these properties, but not all of them, have write capabilities so that you can modify their values. Each report is a class that inherits from the ReportDocument class.
The type or namespace name ‘ReportDocument’ could not be found – CodeProject
Figure shows the Object Browser window with the class for a blank report, CrystalReport1. You can see that ReportClass is the base class for the report.
This class is derived from the ReportDocument class.
The members listed to the right of the figure belong to the ReportDocument class. Object Browser view of the ReportDocument class. PrintToPrinter 1, False, 0, 0.
Saves the latest data with the report. Allows report to be opened without a live data connection.
Change the printer by passing a string that exactly matches the printer name listed in the Printers Control Panel. Changing the printer name can cause the report output to be scrambled.
Each printer uses a unique printer language for producing output. For example, if a report was designed for use with an HP printer, then it is okay to switch between similar models of an HP printer.