AddQueryOutputField method: QuerySelect class

Syntax

AddQueryOutputField(QueryRecord, index)

Description

The AddQueryOutputField method adds a query output field to the query definition. This method returns a reference to a new QueryOutputField object that you can then use to specify attributes for the query definition.

Parameters

Parameter Description

QueryRecord

Specify the QueryRecord instance that contains the field that you want to include in the query definition. This instance can be obtained from the QueryRecords collection of the QuerySelect.

Index

Specify the numeric position in the QueryRecord of the field that you want to add.

Returns

A reference to a QueryOutputField object.