Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using variable names on the left side of CFSET

Status
Not open for further replies.

KevinFSI

Programmer
Nov 17, 2000
582
US
I want to be able to set variables for dept1, dept2, dept3, etc... using CFSET, but I never know how many deparments there will be. Here's what I had in mind, but don't know the proper syntax.
Code:
<CFOUTPUT QUERY=&quot;dept&quot;>
   <CFSET dept & #CurrentRow# = &quot;myVar&quot;>
</CFOUTPUT>
Can something like this be done? Kevin
slanek@ssd.fsi.com
 
DUH me!!! Nevermind. Kevin
slanek@ssd.fsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top