try using the same variable to name the query as you are for naming the output. I have 
done this before where my query name was "lu#table#" and my cfoutput was named the 
same ie: name="lu#table#".

HTH

---------- Original Message ----------------------------------
From: "William Wheatley" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Sun, 08 Apr 2001 00:03:42 -0400

Anyone know a way to use a dynamic variable inside of a CFOUTPUT?

  <cfoutput query="#queryname#" maxrows=1> 
              <tr> 
                <td width="40%">
                    <font face="Verdana, Arial, Helvetica, sans-serif"><b><font 
size="3" color="red">#ucase(name)#</font></b> </font></td>
                <td width="60%"> </td>
              </tr>
  </cfoutput>   
I tried using EVALUate() and playing aroudn with a few different ways but its being a 
pain.

=)

Thx


Bill Wheatley
Director of Development
Allaire Certified ColdFusion Developer
AEPS INC
Allaire ColdFusion Consulting Partner
www.aeps.com
www.aeps2000.com
954-472-6684 X303
ICQ: 417645
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to