Believe it or not, this works.

(IFEQ((SLEN(format(.vtime,"HHMMSS"))),5,"0"," ") +
 + FORMAT(.vTIME,"HHMMSS"))


[EMAIL PROTECTED] wrote:

>
>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]
>
>


-- 
Albert Berry
Full Time Consultant to
PSD Solutions
350 West Hubbard, Suite 210
Chicago, IL 60610
312-828-9253 Ext. 32


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

Reply via email to