Progress
ADM 2 Reference
addQueryWhere (query.p)
Adds some string-expression to the query’s WHERE clause and stores the result in the QueryString property. It returns TRUE if successful, FALSE if an appropriate buffer name for the WHERE-clause cannot be located.
Parameters:INPUT pcWhere AS CHARACTER
Expression to add (might also be an “OF” phrase).
INPUT pcBuffer AS CHARACTER
An optional buffer specification.
INPUT pcAndOr AS CHARACTER
Specifies the operator that is used to add the new expression to an existing expression or expressions, either AND (the default) or OR.
Returns: LOGICALNotes:
- Returns FALSE if it cannot find a buffer name to associate with the WHERE clause.
- This procedure is designed to run on the client in order to be called possibly multiple times (to add multiple phrases to the where-clause) before the full where-clause is used to reopen the query, and will operate on the attribute QueryString. openQuery takes care of the preparation of the QueryString attribute.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |