how about not using them ;) <CFSET DisplayTable = DIsplayTable & " <TD><#chr(23)#qry_ListAll." & "#qryFieldName#" &"#Chr(23)#</TD>#chr(10)#">
<cfset displayTable=displayTable&'<td><'&chr(23)&qry_ListAll[qryFieldName]&chr(23)& '></td>'&chr(10)> -----Original Message----- From: Angel Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 12:56 PM To: CF-Talk Subject: RE: Outputting hash signs and other 'reserved' symbols to a file 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

