Show Navigation | Hide Navigation
You are here:
Geoprocessing > Automating your work with scripts > Scripting object: Properties and Methods > Properties and Methods

AddFieldDelimiters method

Release 9.3
Last modified January 19, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Properties and Methods"

Related Topics

Note: 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.AddFieldDelimiters(fieldName As String, workspace As String)

Part Description
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")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.