Share via


ReportDocument.RecordSelectionFormula Property

Gets or sets record selection formula.

Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)

Syntax

'Declaration

Public Overrideable Property RecordSelectionFormula As String
public virtual string RecordSelectionFormula {get; set;}

Example

This example sets the value of a RecordSelectionFormula object.

'Declaration

      Private Sub InitializeRecordSelectionFormula(ByVal myReportDocument As ReportDocument)
         myReportDocument.RecordSelectionFormula = "{file.QTY} > 5"
      End Sub
      
      private void InitializeRecordSelectionFormula(ReportDocument reportDocument)
      {
         reportDocument.RecordSelectionFormula = "{file.QTY} > 5";
      }
      

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace