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: Gataur Kajikinos
Country: Mozambique
Language: English (Spanish)
Genre: Travel
Published (Last): 11 April 2006
Pages: 20
PDF File Size: 4.30 Mb
ePub File Size: 2.91 Mb
ISBN: 913-9-15478-754-4
Downloads: 11404
Price: Free* [*Free Regsitration Required]
Uploader: Mirn

RecordSelectionFormula no longer apply This question is answered.

ReportDocument Class () | Microsoft Docs

In all the years we have been using Crystal Reports since v7 or so it has never been repottdocument problem? It has nothing to do with reserved characters, which were introduced in SP12 and I was using SP14 which appears to work.

The fact that this problem occurs in both Visual Studio and SharpDevelop is at least consistent, but still makes no sense to me.

Each printer uses a unique printer language for producing output. Click to read more chapter excerpts. Add dr ; codigobarrasRpt. Each report is a class that inherits from the ReportDocument class.


Changes to SelectionFormula no longer apply

Text ; else if this. Insults are not welcome. Don’t forgot to mark this as solution if it is. Are you added the reference dll’s or not? This email is in use. RecordSelectionFormula to anything else e. Gareth Thom February 18, at For example BTW, this is not actually what I am doing which is significantly more complicated but the end result is the same:.

Anyway, it would appear that the ReportDocument.

The members listed to the right of the figure belong to the ReportDocument class. Add “number” ; print. Add “firstName” ; print. SetDataSource print ; Session. Hi Don, After much testing I think I have now got to the bottom of this problem. Add “address” ; print.

Changes to ReportDocument.RecordSelectionFormula no longer apply

Articles Quick Answers Messages Use my saved content filters. This is an excerpt from the book Crystal Reports. I recently started using the latest version of Crystal Reports with both Visual Studio and SharpDevelop in a c windows application forms.

RecordSelectionFormula property to read any existing formula other than just after loading the report and before changing it. Allows report to be opened without a live data connection. SetParameterValue “paraELocate”, “” ; report. Close ; break; default: Is there a particular reason for these characters or that one reportdocumentt particular to be reserved?


SetDataSource dsReporte ; Session.

Forums – C# Corner

I might have to raise a separate issue on that one SetParameterValue “paraBLocate”, “” ; report. NET reporting solutions with this expert guide. The problem arises when I try to use the rtpDoc object to do anything; rptDoc. ToString ; if this. RecordSelectionFormula property was actually set to.

GetPrintRpt03 ParameterList ; report. RecordSelectionFormulaRaw property always seems to return the currently set formula regardless of the evaluation state of the ReportDocument.

The solution is therefore not to access the ReportDocument. Add “comment” ; print. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.

RecordSelectionFormula property is not evaluated instantly when the property set call returns and instead must get evaluated in the background or at a later stage in processing the report. ToString “” ; sb. Saves the latest data with the report. SetParameterValue “paraReturnNo”, “” ; report.

Add your solution here. Gary 2 10 Object Browser view of the ReportDocument class. Top Rated Most Recent.