SearchForms(FormName As String, Status As Long, QueueNo As Long, MaxHits As Long, FoundItems ByRef As Long) As String

Application object

This method returns a string containing FORMS keys for the found objects in the database. The keys are mapped to the database search key in FORMS. The returned string has a semi-colon (;) as separator between each Key value. The last Key value is ended with a semi-colon. Also, see GetEHKey.

Parameters

Parameter

Description

FormName 

The name of the form to search for.

Status 

The status to search for. See the table of available form statuses.

QueueNo 

The queues to search for. A bit mask. Bit 1 corresponds to queue no. 1, bit 2 corresponds to queue no. 2, etc. A value of -1 indicates that all/any queues are to be looked for.

MaxHits 

Maximum hits allowed. When the limit is reached, this method returns.

FoundItems 

Return the number of found objects of the given status and queue.

Returns 

A string containing of semi-colons separated key strings. It contains the number of Key elements specified in FoundItems.

The corresponding method for Sets is SearchSets.

The Application object