Here you go Mark:
It worked for me...
<OPTION VALUE="#trim(GetAcctInfo.Account)# <CFIF
Len(GetAcctInfo.Sub_Account) EQ 4> #rtrim(GetAcctInfo.sub_account)#<CFELSE>
0000</cfif>">#trim(GetAcctInfo.Account)# <CFIF Len(GetAcctInfo.Sub_Account)
EQ 4> #rtrim(GetAcctInfo.sub_account)#<CFELSE> 0000</cfif></OPTION>
H Larry Juncker
L Senior Cold Fusion Programmer
I Heartland Communications Group
Internet Division
-----Original Message-----
From: Marc Lippman [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 11, 2000 4: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.