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):||19 August 2008|
|PDF File Size:||8.66 Mb|
|ePub File Size:||7.98 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.
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.
Changes to SelectionFormula no longer apply
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.
The type or namespace name ‘ReportDocument’ could not be found
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.