Get(RequestCount)

Category: Get

Syntax: Get ( RequestCount )

Parameters: None

Data type returned: Number

Description:

Returns the total number of find requests defined in the current window.

Get (RequestCount) can be used in scripted find routines to see whether the user has added any find requests to the default request. It is also useful as a boundary condition if you ever need to loop through all the find requests and either capture or set search parameters.

Examples:

If the current find request asks for invoices with values greater than $200.00,

Get (RequestCount)

returns 1.

If the current find request asks for invoices with values greater than $200 or invoices with dates after 1/1/2004,

Get (RequestCount)

returns 2.

Категории