The search condition of the WHERE clause for a related report. The Criteria property defines the connection between the related report and the DataWindow.
Report controls
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. |
ls_colcount = dw1.Object.rpt_1.Criteria
dw1.Object.rpt_1.Criteria = "emp_id=:emp_id"
ls_colcount = dw1.Describe("rpt_1.Criteria")
dw1.Modify("rpt_1.Criteria='emp_id=:emp_id'")
Nest_Arguments DataWindow object property