mackpete

Delete Multiple Fields (DeleteField example 3 on user help)

Discussion created by mackpete on Jan 12, 2011
Latest reply on Jan 13, 2011 by mackpete
I need to delete fields, many of them from many different datasets. I am following the following code from the ESRI website.

DeleteField example 3 (stand-alone script)

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Delete_Field/00170000004n000000/

In the comments it says:

If the field is required, exclude it, to prevent errors


How do I exclude it? Do I add it to the fieldNameList?

Any help would be greatly appreciated.

Attached is the code, directly from the ESRI website.

Attachments

Outcomes