Progress
ADM 2 Reference
newQueryValidate (query.p)
Inserts a new expression to the passed prepare string if the buffer reference, usually extracted from the expression, is valid. Returns ? if error (after an error message has been shown).
Parameters:INPUT pcQueryString AS CHARACTER
Complete query string that the expression is going to be added to.
INPUT pcExpression AS CHARACTER
The new expression to add to the query. The first field reference is used as buffer reference unless pcBuffer is defined.
INPUT pcBuffer AS CHARACTER
Optional buffer reference.
INPUT pcAndOr AS CHARACTER
Operator used to append if query string already has an expression. Default is
"
="
.Returns: CHARACTERNotes:The function avoids duplicate logic in add and setQueryWhere and acts as a wrapper for newWhereClause with some significant additions and differences:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |