Maxdays, Maxdays 40 – Kofax DM API User Manual

Page 428

Advertising
background image

408 C

HAPTER

5

%MAXDAYS

%MAXDAYS

If there are many entries in the

ACTIVITY

table, a search for recently

edited documents (RED) can return many records. The

%MAXDAYS

token can be used to limit the number of days that a RED search
examines.

Syntax

PCDRecentDoc.AddSearchCriteria(“%MAXDAYS”, “30”)

PCDSearch.AddSearchCriteria( _

“%MAXDAYS”, strNumDays)

Parameters

Usage

If the

%MAXDAYS

token is not set as one of the search criteria, the

default is to search for documents edited during the previous 90 days.

Example

See the

AddSearchCriteria

example on page 142

.

Related Items

See the following objects:

PCDRecentDoc

PCDSearch

See the

AddSearchCriteria

method.

%MAXDAYS

The token identifier that indicates that
the maximum number of days is being
set for the current search.

“30”

Specifies that the search is to retrieve
documents edited during the previous
30 days.

strNumDays

A string variable that contains the
number of days that the RED search is
to examine.

Advertising