Delete Method (ADO Fields Collection)

Microsoft ActiveX Data Objects (ADO)

Delete Method (ADO Fields Collection)

       

Deletes an object from the Fields collection.

Syntax

Fields.Delete Field

Parameters

Field   A Variant that designates the Field object to delete. This parameter can be the name of the Field object or the ordinal position of the Field object itself.

Remarks

Calling the Fields.Delete method on an open Recordset causes a run-time error.