n = 0 ?PADL(STR(n),2,"0")Hi, Randy, that´s not a problem with PADL(). You may take a look that Str(n) will return a string with 10 characters. You may have to do something like this:
n = 0 ?PADL(Alltrim(STR(n)),2,"0")or, by using Transform(), like this:
n = 0 ?PADL(Transform(n),2,"0")