ContentsAllowed  Criteria.property

Chapter 3: DataWindow Object Properties

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

PocketBuilder 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 = dw_1.Object.rpt_1.Criteria

Example 2

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

Example 3

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

Example 4

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

See also

Nest_Arguments DataWindow object property





Copyright © 2004. Sybase Inc. All rights reserved. Criteria.property

View this book as PDF