Class actuate.reportexplorer.FileCondition
Description
The FileCondition object contains a display field associated with a filter string called a match. This can be used for the purposes of comparing field values for searching, filtering, or batch operations. For example, a file condition can match the FileType field with rptdesign to identify all the rptdesign files for a filter.
Constructor
Syntax
Constructs a new FileCondition object.
Function summary
Table 4-36 lists actuate.reportexplorer.FileCondition functions.
actuate.reportexplorer.FileCondition.getField
Syntax
Returns the field for this FileCondition.
Returns
String. Possible values are: "Name", "FileType", "Description", "PageCount", "Size", "TimeStamp", "Version", "VersionName", and "Owner".
Example
To store the display field of fcondition in a variable called field, use code similar to the following:
actuate.reportexplorer.FileCondition.getMatch
Syntax
Returns the match value for this FileCondition.
Returns
Example
To store the matching condition of fcondition in a variable called match, use code similar to the following:
actuate.reportexplorer.FileCondition.setField
Syntax
Sets the field for the FileCondition.
Reportexplorers
String. Possible values are: "Name", "FileType", "Description", "PageCount", "Size", "TimeStamp", "Version", "VersionName", "Owner".
Example
To set the display field to FileType for fcondition, use code similar to the following:
actuate.reportexplorer.FileCondition.setMatch
Syntax
Sets the match value for the FileCondition.
Parameters
Example
To set the match value for fcondition to rptdesign, use code similar to the following:
(c) Copyright Actuate Corporation 2011 |
![]() |