Progress
ADM 2 Reference


newWhereClause (query.p)

Inserts a new expression to a specified buffer’s WHERE clause.

Parameters:

INPUT pcBuffer AS CHARACTER

Buffer.

INPUT pcExpression AS CHARACTER

The new expression.

INPUT pcWhere AS CHARACTER

The current query prepare string.

INPUT pcAndOr AS CHARACTER

Specifies what operator is used to add the new expression to existing expressions, either AND (the default) or OR.

Returns: CHARACTER

Notes: This is supported as a utility function that does not use any properties. However, if target-procedure = super, the passed buffer’s qualification must match the query’s. If target-procedure <> super, the buffer will be corrected if it exists in the object’s query. Otherwise, it needs to match.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095