Delete Method (ADO Fields Collection)

   Example   Applies To   

Deletes an object from the Fields collection.

Syntax

Fields.Delete Field

Parameters

Field   A Variant designating the Field object to delete. This parameter must be the name of the Field object; it cannot be an ordinal position or the Field object itself.

Remarks

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