Last modified January 19, 2010
Print all topics in : "Properties and Methods"
This topic was updated for 9.3.1.
Adds field delimiters to a field name to allow for use in SQL expressions
Learn more about building an SQL expression
|object||The instantiated geoprocessing object|
|fieldName||The field name to which delimiters will be added|
|workspace||The workspace on which the delimiters will be based|
import arcgisscripting gp = arcgisscripting.create(9.3) fc = gp.GetParameter(0) fieldname = gp.GetParameter(1) delimitedField = gp.AddFieldDelimiters(fc, fieldname) gp.MakeFeatureLayer(fc, "tmpLayer", delimitedField + " > 10")