Criteria DataWindow object property
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.
Controls
Report controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>reportname</span>.Criteria |
Describe and Modify argument:
1 |
"<span>reportname</span>.Criteria { = <span>string</span> }" |
Parameter |
Description |
---|---|
reportname |
The name of the report control for which |
string |
An expression that will be the search |
Examples
1 |
ls_colcount = dw1.Object.rpt_1.Criteria |
1 |
dw1.Object.rpt_1.Criteria = "emp_id=:emp_id" |
1 |
ls_colcount = dw1.Describe("rpt_1.Criteria") |
1 |
dw1.Modify("rpt_1.Criteria='emp_id=:emp_id'") |
See Also
Nest_Arguments DataWindow object property
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments