Damon If all you have to do is add 2 zeros to the end then just do this. set var vSTime Time = 13:23:01 set time format HHMMSS set var vTTIme Text = ((ctxt(.vSTime)) + '00') set time format HH:MM:SS
Buddy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wed 2/5/2003 10:24 AM To: [EMAIL PROTECTED] Cc: Subject: [RBASE-L] - Formatting a value I'm trying to pad a variable with zero's on the end for an EDI application in RBWin 6.5++ and I'm missing something on the fomat function. The variable starts as a time variable: var vSTime Time = 13:23:01 set time format HHMMSS set vat vTTIme Text = .vSTime set time format HH:MM:SS Show var vTTime 132301 Now the kicker. I need var vTTime to be converted to an 8 character string, to represent hundredths of a second, i.e. 13230100 I keep trying the Format function, but I'm missing SOMETHING in the format command. Anyone got a string conversion that will work consistantly? TIA Damon Damon D. Kaufman President Stalder Spring Works, Inc ISO-9002 / QS-9000 Certified 2345 S. Yellow Springs St. Springfield, Ohio 45506 Voice 937-322-6120 Fax 937-322-2126 email: [EMAIL PROTECTED]

