Quote:

No need to make it that complicated:
Code:
$sZeroFilled=Right("00000"+$iNumber,5)






simple and effective. i wish i would have known more about the right().

Do you think a case is the best way to go with the prefix for seperation? I have a hunch we are going to change several machine names prefix, depending on the command (military) that owns them.
_________________________
John
LM Contractor
One of the 2 dads