SearchAttribute Class Constructor

This section describes the constructor for the SearchAttribute class.

Syntax

SearchAttribute(AttrName, AttrValue, CompareOperator)

Description

Use the SearchAttribute constructor to instantiate an instance of a SearchAttribute object.

Parameters

Field or Control

Definition

AttrName

Specify the attribute name, as a string.

AttrValue

Specify the attribute value, as a string.

CompareOperator

Specify a comparison operator.

See Search Operator Values.

Returns

A SearchAttribute object.

Example

import PSXP_REPORTMGR:SearchAttribute;

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