CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Code Charge ASP examples adding custom code

Print topic Send  topic

Author Message
unixtown
Posted: 06/30/2002, 7:24 PM

Hello,
I am going through the code charge examples menu,
and I have just added the custom ASP code on page 52,
this ASP code bascially says if a retreived ID == a session("UserID")
then make a table data cell equal to <font color=blue> & contents & </font>

The comparision mechanism works fine.. where I am having a problem though
is that the statement

tasks.user_id_assign_to.Value="<b><font color=""blue""> & tasks.user_id_assign_to.Value & "</font></b>"

is actually causing <b><font color="blue">John Smith</font></b>
to be printed literally
in essence the < & > tags are being stored as < & >
and therefore the HTML is being literally printed out as literal text..

has anyone else encountered this problem and solved it?
I tried assigning both variables and chr(60) and chr(62) to the cell
value but literal HTML codes are always printed and not interpretted.

Thanks in advance.

Chris K.
Posted: 06/30/2002, 11:56 PM

Make sure to check 'HTML' checkbox (Common tab) in field's properties to allow HTML printing.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.