P
Pete Provencher
I have a field that contains either 1, 2, or three characters. I want to add
leading 0s to the number to make all numbers three characters long. I use
this formula:
IIf(Len([parcelnumber]="1"),"-00" &
[parcelnumber],IIf(Len([parcelnumber]="2"),"-0" & [parcelnumber],"-" &
[parcelnumber]))
In every case it finds that the len = 1 and adds "-00" regardless of the
condition.
Pete Provencher
leading 0s to the number to make all numbers three characters long. I use
this formula:
IIf(Len([parcelnumber]="1"),"-00" &
[parcelnumber],IIf(Len([parcelnumber]="2"),"-0" & [parcelnumber],"-" &
[parcelnumber]))
In every case it finds that the len = 1 and adds "-00" regardless of the
condition.
Pete Provencher