DAO Object
 
Deletes a Field from the Fields collection.
 

Syntax

expression .Delete(Name)
expression A variable that represents a Fields object.
 

Parameters

Name
Required/optional
Data type
Description
Name
Required
String
The field to delete.
 

Remarks

The deletion of a stored object occurs immediately, but you should use the Refresh method on any other collections that may be affected by changes to the database structure.
 

Example

This example uses either the Append method or the Delete method to modify the Fields collection of a TableDef. The AppendDeleteField procedure is required for this procedure to run.