Release 10.1A: OpenEdge Development:
ADM Reference

> ## insertExpression

> Inserts an expression into a buffer’s WHERE clause.

> Location: query.p

> Parameters:

> `INPUT pcWhere AS CHARACTER`

> Complete WHERE clause with or without the FOR keyword, but without commas.

> `INPUT pcExpression AS CHARACTER`

> New expression or OF phrase (Existing OF phrase is replaced).

> `INPUT pcAndOr AS CHARACTER`

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

> Returns: CHARACTER (PRIVATE)

> Notes:

> - The new expression is embedded in parentheses, but no parentheses are placed around the existing expression.

> - Lock keywords must be unabbreviated or without –LOCK (for example, SHARE or EXCLUSIVE).

> - Any keyword in comments might cause problems.

> - This is PRIVATE to `query.p`.

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