BAH!

Just escape them with ##.

I had so many in one line that it wasn't working. Once I counted it all
correctly it works fine.
*shakes head*

Silly me ^_^

The code is...not very readable though. Any changes and I'm sure to run
into syntax errors later :-\
Is there any other way beside escaping the values with ## ?

-Gel


-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED] 

CFLOOP List="#form.displayfields#" Index="qryfieldname">

        <CFSET DisplayTable = DIsplayTable & "
<TD><#chr(23)#qry_ListAll." & "#qryFieldName#"
&"#Chr(23)#</TD>#chr(10)#">

</CFLOOP>

I am trying to generate a .cfm page that contains a table listing, so
that I can just select some values on a form, click submit and have my
dynamic table generated for me. :-)

But..I am having trouble with 'writing' the code to the file.

The code is standard and should be:

<td>#qryname.fieldname#</td>

The '#' is giving me grief, since the CFSET statement assumes that these
are enclosing some variable name or other. How do I get around this? 
It all has to be string data...that could contain #s or <!---s etc. etc.


-Angel



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to