Criteria

Description

The search condition of the WHERE clause for a related report. The Criteria property defines the connection between the related report and the DataWindow.

Applies to

Report controls

Syntax

PowerBuilder dot notation:

dw_control.Object.reportname.Criteria

Describe and Modify argument:

"reportname.Criteria { = string }"

Parameter

Description

reportname

The name of the report control for which you want to get or set Criteria.

string

An expression that will be the search condition of the WHERE clause for the related report.

Examples

Example 1

ls_colcount = dw1.Object.rpt_1.Criteria

dw1.Object.rpt_1.Criteria = "emp_id=:emp_id"

Example 2

ls_colcount = dw1.Describe("rpt_1.Criteria")

dw1.Modify("rpt_1.Criteria='emp_id=:emp_id'")

See also

Nest_Arguments DataWindow object property