Progress
ADM 2 Reference
assignQuerySelection (query.p)
Assigns selection criteria to the query and distributes the column/value pairs to the corresponding buffer’s where-clause. Each buffer’s expression will always be enclosed in parentheses.
Parameters:INPUT pcColumns AS CHARACTER
A comma-separated list of column names.
INPUT pcValues AS CHARACTER
A CHR(1)-separated list of the corresponding values.
INPUT pcOperators AS CHARACTER
The operator (one for all columns):
Returns: LOGICALNotes:
- This procedure is designed to run on the client and to be called possibly multiple times to build up the query’s WHERE clause (storing intermediate results in the QueryString property) before it is finally used in a Query–Prepare method.
- openQuery takes care of the preparation of the QueryString property.
- The QueryColumns property is used to ensure that each column and operator will be added only once to the QueryString. The property is also used to store the offset and length of the corresponding values.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |