AddExpr1Field method: QueryCriteria class

Syntax

AddExpr1Field(QueryRecordAlias, FieldName)

Description

The AddExpr1Field method returns a reference to a new a QueryField object to be used as a field for Expression 1. You can then use this object to specify details about the expression using the methods and properties of the QueryField Class.

Note:

You must set the type for Expression 1 using the Expr1Type property before you can use this method.

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.