Skip to content

psReportPath - cDRReport

Methods - Properties - Events

Type

String

Default

empty

Arguments

None

Description

Can be set to hold a folder name to be used during OpenReport. It will be used if the psReportName does not contain a path leading to a report definition.

DataFlex Framework usage

  • Web
  • Windows
  • FlexTron

Sample

Find report in workspace's data path

Object oReport is a cDRReport
    Set psReportPath to 'c:\reports'
End_Object
Object oReport is a cDRReport
    Set psReportPath to 'c:\myapp\custom reports;c:\myapp\standard reports'
End_Object

Notes

  • In DataFlex Reports 24.0, the psReportPath used by OpenReport supports multiple folders.
  • If integration is used with DataFlex 2012 v17.1 and beyond, it is better not to set this property and rely on the ReportsFolder function.