AddExpr2Field2 method: QueryCriteria class

Syntax

AddExpr2Field2(QueryRecordAlias, FieldName)

Description

Expression 2 has two field expressions because when the Between relational operator is used in a criteria, there can be two expression fields. The AddExpr2Field2 method returns a reference to a new a QueryField object to be used as a field 2 for Expression 2. You can then use this object to specify details about the expression using the methods and properties of the QueryField Class.

Parameters

Parameter Description

QueryRecordAlias

Specify the alias of the QueryRecord that contains the QueryField that you want to use.

FieldName

Specify the name of the QueryField in the QueryRecord that you want to use.

Returns

A reference to a blank QueryField object.