You are adding the "0000" to the display and not to the value.
> -----Original Message-----
> From: Marc Lippman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 11, 2000 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: Adding numbers to a select box... urgent
>
>
> I'm in a bind here, I have to add 4 0's to a select box if the
> "Sub-account"
> does not exist, otherwise, just use the sub-account.
>
> Here's the code:
>
> <OPTION
>
VALUE="#trim(GetAcctInfo.Account)##trim(GetAcctInfo.sub_account)#">#trim(Get
> AcctInfo.Account)##rtrim("0000"&GetAcctInfo.sub_account, 4)#</OPTION>
>
> Right now, it doesn't work.
>
> Any guru's out there have an idea?
>
> Marc
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.