DynamicQuery::AddConstraint (open)

Adds a constraint to the query of the form 'table.column OPERATOR value'. Comparisons will be done case-sensitive.

Syntax

LOADLIB "wh::dbase/dynquery.whlib";

MACRO AddConstraint(STRING _column, STRING type, VARIANT value)

Parameters

STRING _column

Name of the column

STRING type

Operator (one of '>', '>=', '=', '!=', '<', '<=', 'LIKE')

VARIANT value

Value to compare to