35 is the ascii for # 23 is the hex for #.
-----Original Message----- From: Angel Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 1:12 PM To: CF-Talk Subject: RE: Outputting hash signs and other 'reserved' symbols to a file You have an ASCII chart? I was using the Character Map and on that for fonts, Chr(23) is the # sign. I guess I used the wrong thing, and should look at a proper ASCII character chart. The only ones I know off hand are Chr(10) and Chr(13) ;-P What's the ASCII code for '#' ? -Gel -----Original Message----- From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED] Angel, Try <cfloop list="#form.displayfields#" index="qryfieldname"> <cfset DisplayTable = DisplayTable & "<td><" & chr(23) & "##qry_ListAll." & qryFieldName & "##" & chr(23) & "</td>" & chr(10)> </cfloop> I'm not sure what the chr(23) s are for. In my ascii chart, chr(23) = ETB (end of trans. block). So, I would leave them off. Steve -----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 Get the mailserver that powers this list at http://www.coolfusion.com

