AddSearchFieldCriteria method: ReportManager class

Syntax

AddSearchFieldCriteria(&SearchAttribute)

Description

Use the AddSearchFieldCriteria method to add an already instantiated and populated SearchAttribute object to the search.

Parameters

Parameter Description

&SearchAttribute

Specify an already instantiated and populated SearchAttribute object.

Returns

A Boolean, true if the criteria was added successfully, false otherwise.

Example

Local PSXP_REPORTMGR:SearchAttribute &oSearch;
Local integer &compOpSrch;

&CompOpSrch = oRptMgr.PSXP_SrchBegins;

&oSearch = create PSXP_REPORTMGR:SearchAttribute(&sAttrname, &sAttrVal, ⇒
&compOpSrch);

&bResult = &oRptMgr.addSearchFieldCriteria(&oSearch);

Related Topics