Thanks, but it took me four tries to get there! "Gunnar Ekblad" <[EMAIL PROTECTED]> wrote:
>Albert >The best one! Fewest keystrokes! >Gunnar > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Albert >Berry >Sent: den 5 februari 2003 17:12 >To: RBASE-L Mailing List >Subject: [RBASE-L] - Re: Formatting a value > >And if you can be satisfied with just 00 on the end (two zeroes) > >(FORMAT(.#TIME,"HHMMSS00")) > � � � � � � � � � � �^^ > � � � � � � � � � �zeroes > >"MikeB" <[EMAIL PROTECTED]> wrote: > >>Here is one: >> >>set var vSTime Time �= 13:23:01 >>set time format HHMMSS >>set var vTTIme Text = .vSTime >>set var vstr=((ctxt(.vTTIme)) + (SFIL('0', 8 - >(slen((ctxt(.vTTIme))))))) >> >> >>----- Original Message ----- >>From: <[EMAIL PROTECTED]> >>To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> >>Sent: Wednesday, February 05, 2003 10:24 AM >>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] >>> >>> >> >> > > >-- >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/ > > -- 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/

