Skip to content

psCSVFieldSeparator - cDRReport

Methods - Properties - Events

Type

Boolean

Default

"

Arguments

None

Description

The value to be used around the data to be exported.

"test","abs"

Can be retrieved or set after the OCX is initialized.

DataFlex Framework Usage

  • Web
  • Windows
  • FlexTron

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
End_Object

Object oRunReportButton is a Button
    Set Label to 'Run Report'

    Procedure OnClick
        String sReportId

        Get OpenReport of oReport to sReportId
        If (sReportId <> '') Begin
            Set psCSVFieldSeparator of oReport to "'"
            Send ExportReport of oReport C_drCSV 'c:\tmp\MyReport.csv'
        End
    End_Procedure
End_Object