Select to view content in your preferred language

Adding columns using VB in ArcPAd

723
1
07-19-2011 09:52 AM
StevenSpears
New Contributor
I am working on setting up a button in Arcpad that a shapefile can be made automatically. The VB code I have found makes character and numeric fields, but I want to specifiy that numeric field to be Integer...so how the heck do I do that? LOL
Tags (3)
0 Kudos
1 Reply
JackGreen
Emerging Contributor
Use the NumericScale setting of 0 when defining the field. This determines the number of decimal places the field can have. 0 so an integer.

Fields.Append("Name", 5,9,0)
0 Kudos