Tagged Questions
1
vote
1answer
89 views
How do you calculate a column value based on the value of another column?
I am trying to select data based on whether it starts with certain characters and then update a field. For example if [Asbuilt] starts with "WL" then do something. Here are the two methods I have ...
0
votes
0answers
68 views
How can I get shape filename in attribute field using field calculator with VBA?
I want to store ths shapefile name in an attribute field using the field calculator and visual, but can't find the way to do it.
Can anyone help me, please?
Thanks!!!
3
votes
3answers
127 views
How to make Field Value constant size(length) by appending zeros towards the end?
I have been racking my brain, but I can't seem to find a solution to appending my field values in my .dbf to correspond with the values of my feature's attribute table. All I need to do is to append ...
4
votes
4answers
448 views
How to concatenate numbers and add in leading zeros?
I have three text fields populated as follows: 1, 9, 1 that I need to concatenate into a field that looks like 01.09.01. Getting to 1.9.1 is easy but can anyone help out with how to formulate it so ...
2
votes
1answer
459 views
How to combine If Then with InStr in ArcMap field calculator?
I want to write an if then in field calculator that tests if a field in the attribute table contains one of several versions of another string (the versions vary by capitalization).
Trouble is, I ...
1
vote
2answers
789 views
ArcGIS field calculator: VBScript get data from previous row
When using the field calculator, how do I get data from the previous row in VBScript? In Python I'd do something like this:
for index, row in enumerate(rows,start=1):
row[index-1] += 5
I'm ...
