DeleteRecord method: QuerySelect class

Syntax

DeleteRecord(index)

Description

The DeleteRecord method deletes the selected record from the query definition. This does not delete the record from the database or the QueryDBRecord collection, just from the query definition, so it's no longer selected.

Parameters

Parameter Description

Index

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

Returns

An integer: 0 if successfully deleted.