If you're saying that the '321' is text then this will work:

SET VAR VTEST2 = (LJS((FORMAT((INT('321')),'000000')),6))

Or 

SET VAR VTEMP TEXT = '321'

SET VAR VTEST2 = (LJS((FORMAT((INT(.VTEMP)),'000000')),6))

SHOW VAR VTEST2

000321

Mike Ramsour
AK Steel Coshocton Works
Quality Department
Phone:  740-829-4340
Cell:  740-502-1659



From:   Dick Fey <[email protected]>
To:     [email protected] (RBASE-L Mailing List)
Date:   06/07/2013 02:52 PM
Subject:        [RBASE-L] - Re: Functions
Sent by:        [email protected]



Mike;

Works perfectly as you show it, but not if you replace the '321' with a 
var with the same value.

Dick


On 6/7/2013 1:34 PM, [email protected] wrote:
(LJS((FORMAT(321,'000000')),6)) 



Confidentiality Notice
This message is intended exclusively for the individual or entity to which it 
is addressed and may contain privileged, proprietary, or otherwise private 
information.  
If you are not the named addressee, you are not authorized to read, print, 
retain, copy or disseminate this message or any part of it.  If you have 
received this message in error, please notify the sender immediately by e-mail 
and delete all copies of the message.

Reply via email to