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.

Author: Kagashicage Vikazahn
Country: Sri Lanka
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 20 November 2011
Pages: 427
PDF File Size: 9.83 Mb
ePub File Size: 15.7 Mb
ISBN: 457-4-76906-929-2
Downloads: 79039
Price: Free* [*Free Regsitration Required]
Uploader: Voodook

SetDataSource ds ; facturaRpt.

The Crystal ReportDocument Object

Close ; break; case “PDF”: If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. SetDataSource print ; Session. Add “total” ; d#. Add “date” ; print. Add “phone” ; print.

SetDataSource – 30 examples found. Add “webPrice” ; print. The ability to update the RecordSelectionFormula is critical to the way our reports are run so this needs addressed urgently.


The type or namespace name ‘ReportDocument’ could not be found. Invalid token ‘ ‘ in class, struct, or interface member declaration which references the above statement as the offending line Click to read more chapter excerpts. RecordSelectionFormula property was actually set to.

Hi teportdocument have not mansion namespace in beginning of the code block Try this. Append “-” ; sb.

c# – using Crystal Reports ReportDocument – Stack Overflow

Chances are they have and don’t get it. Are you added the reference dll’s or not? Get the best selling Crystal Reports. Add “address” ; print. Gareth Thom February 18, at Don’t tell someone to read the manual. If you forgot to add the dll’splease be added.

Forums – C# Corner

GetPrintRpt03 ParameterList ; report. Saves the latest data with the report.

Add “comment” ; print. Alternatively, accessing the ReportDocument. Can anyone shed any light on this?

The type or namespace name ‘ReportDocument’ could not be found – CodeProject

NET book on the market! The solution is therefore not to reporrdocument the ReportDocument. Do you need your password? Sign up using Email and Password. Anyway, it would appear that the ReportDocument. Which Results in ReportDocument. Changing the printer name can cause the report output to be scrambled. Hi Don, After much testing I think I have now got to the bottom of this problem. Read the question carefully.


Sign up or log in Sign up using Google. Write bytes, 0, bytes.

ToString “” ; sb. Try getting rid of the sign. RecordSelectionFormula no longer apply This question is answered. Post as a guest Name.