... = variable"R%5" ... = OCONV(variable,'MR%5') variable = '00000' : variable variable = variable[LEN(variable) - 4,5]
Just a few I've seen over the years. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 2:30 PM To: u2-Users Subject: [U2] [UV] making 00001 our of 1 Hi all, I have a need to search through our program files for any code that format a number from 1 through 99999 with leading 0's. I have always used "R%5" but I may miss programs that use other techniques to arrive at the same result. Can someone give me examples that they have seen for changing 1 to 00001? Thanks much, Scott ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/