Release 10.1A: OpenEdge Development:
ADM Reference

> ## newWhereClause

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

> Location: query.p

> 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 is corrected if it exists in the object’s query. Otherwise, it needs to match.

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