DeleteField method: QuerySelect class

Syntax

DeleteField(index)

Description

The DeleteField method deletes the selected field from the query definition. This does not delete the field from the QueryRecord, just from the query definition, so it's no longer selected.

Parameters

Parameter Description

Index

Specify the position number of the field that you want deleted from the query definition.

Returns

An integer: 0 if successfully deleted.