I've got a favor to ask -
Consider the following numeric field:
511
6805
3205
403
I need to make 2 new numeric fields from this variable, call it CS
(short for Check Station)
The first 2 numbers (even when there are only 3 digits - zeros are
missing) represent the County and the last 2 the location within the
county. County ranges from 1-88, location from say 1 to 20.
How would I create 2 new numeric fields with the following conditions:
if CS < 1000 then county=the first digit and location=the next 2
else
county=first 2 and location = next 2
Any help on this would really be appreciated.
Mike
Consider the following numeric field:
511
6805
3205
403
I need to make 2 new numeric fields from this variable, call it CS
(short for Check Station)
The first 2 numbers (even when there are only 3 digits - zeros are
missing) represent the County and the last 2 the location within the
county. County ranges from 1-88, location from say 1 to 20.
How would I create 2 new numeric fields with the following conditions:
if CS < 1000 then county=the first digit and location=the next 2
else
county=first 2 and location = next 2
Any help on this would really be appreciated.
Mike
Comment