AnsweredAssumed Answered

ArcGis reading field as integer when it should be string.

Question asked by fchin on Nov 7, 2012
Latest reply on Apr 22, 2013 by curtvprice
Hello,
I am trying to read in a .txt (tab delimited) file using a python script and ArcGIS 10.1:

SCRB_ZIP_5_CD SCRB_ZIP_4_CD SCRB_ZIP_3_CD SCRB_ST_CD COUNTY_FIPS_CD LAT_DEG LNG_DEG NEW_RECORD_IND ID
"02916" "1245" "703" "RI" "44007" 41.843590 -71.349532 "N" 50

The first field, SCRB_ZIP_5_CD, should be a string, however it is being read as an integer and dropping the leading zero, is there a workaround to read this field as a string?

Any help would be appreciated.

Thanks,
Frank

Outcomes