S
Sash
I need to reformat a field via VBA. But it's an odd situation.
I have a field where I store code and it may be
E800.0
E801
E8002
ONLY in the cases where it is E8002, I need to reformat it to be E800.2
In the same field I need to strip off leading zeros. Could I do something
like:
If field like 0* then
mid([field],2,10)
End if
The reason for using mid is that the length of the field varies, but is
never more than 10.
I have a field where I store code and it may be
E800.0
E801
E8002
ONLY in the cases where it is E8002, I need to reformat it to be E800.2
In the same field I need to strip off leading zeros. Could I do something
like:
If field like 0* then
mid([field],2,10)
End if
The reason for using mid is that the length of the field varies, but is
never more than 10.