Sal:
Sure there is..... try this for instance:
<cfset numvar = "2">
<cfset "Edname#numvar#" = "test">
<cfoutput>Edname2 is #Edname2#</cfoutput>
How's that?
Andrew Hewitt
Web Application Developer
webworld studios, inc.
www.wwstudios.com
<cf_certified/>
-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 7:56 PM
To: CF-Talk
Subject: append variable to a variable??
Is there anyway to do this?
I have six variables in my database they are called:
EdName1, EdName2, etc.
It would be awesome if I could set a variable that could dynamically change
the number of each variable for me so I don't have to hard code the
variable.
For example (I know this doesn't work but it will get my point across:
<cfset numvar = "2">
#EdName#numvar## = EdName2
Thanks for your help
Sal
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]