Call this member function to remove a field and make it inaccessible.
void DeleteField( LPCTSTR lpszName ); void DeleteField( int nIndex );
A pointer to a string expression that is the name of an existing field.
The index of the field in the table's zero-based Fields collection, for lookup by index.
You can use this member function on a new object that has not been appended to the database or when CanUpdate returns nonzero.
For related information, see the topic "Delete Method" in DAO Help.