SetDateCriteria method: ReportManager class

Syntax

SetDateCriteria(createdDate, createdLastVal, createdUnit)

Description

Use the SetDateCriteria method to specify the creation date criteria for searching reports.

Parameters

Parameter Description

createdDate

Specify a date used to search for reports generated on and after this date. You should specify a null value (" ") for this parameter if using createdLastVal and createdUnit.

createdLastVal

Specify a value to be used n conjunction with createdUnit, as a number. If you specify a value, it is used and any value given for createdDateis ignored. If you are not using this search criteria, you should specify a null value (" ") for this parameter.

createdUnit

Specify a value to be used for reports generated during last n number of periodic units. This value is used with createdLasVal. For example, if createdLastVal is set to 10, and createdUnit is set to 1, the reports generated in the last ten days are returned. Valid values are:

Value Description

1

Days

2

Hours

3

Minutes

Returns

None.