POST
|
Hello I'm running arcmap 10.4. I have 5k entries of 'FEC_IDCODE' with 01234 and I need the first 0 deleted. I have tried to google search and edit various scripts to delete the first letter of a text field. I've tried the codes and advice from the listed websites. All I've gotten is error codes with each try. What am I doing wrong. arcgis 10.0 - Delete first two letters from a string field - Geographic Information Systems Stack Exchange qgis - How to remove a certain number of digits from the front or end of an attribute field? - Geographic Information Sy… Field Calculator- Delete last 3 text characters How to remove first character from every row of an attribute field https://community.esri.com/thread/21358
... View more
08-25-2016
08:31 AM
|
4
|
7
|
26991
|
POST
|
I glossed over that little aspect. thanks for the help. I hate over thinking/looking simple things.
... View more
08-02-2016
09:02 AM
|
0
|
0
|
458
|
POST
|
Hello, I have a question about using python to auto increment numbers. I have a dataset with a range of numbers already defined (ID : 396548 - 410342) and (ID2 : 392988 - 406624). When I merged data I had fields that carried over 'Null' values. I do not want to change the known numbers, just the null values. Here is a sample of my table, I have 27k fields with 13k numbered and the rest 'null' ID ID2 null null null null 396548 392988 410342 406642 I'm using rec=0 def autoIncrement(): global rec pStart = 1 pInterval = 1 if (rec == 0): rec = pStart else: rec += pInterval return rec ID = autoIncrement() I've tried chaging 'rec' to the starting number (ID:396548), but it changes all numbers. Am I using the right option or is there a better one out there
... View more
08-02-2016
08:47 AM
|
0
|
2
|
1427
|
Title | Kudos | Posted |
---|---|---|
4 | 08-25-2016 08:31 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|