m.DupNsn = TRANSFORM(PADR(ALLTRIM(THIS_REC.NSN), 13, "0"), '@R AAAA-AA-AAA-AAAA')
>I am running the following code for id's that arrive via text file in the format of: 1234567891011
>
>m.DupNsn = TRANSFORM(ALLTRIM(THIS_REC.NSN), '@R AAAA-AA-AAA-AAAA')
>
>The problem is that some of the id's arrive in the following format:
>1234567
>
>How can I add 0's to the tail end of these particular id's while it's pre-processing?
--sb--