CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 please check this asp code's syntax

Print topic Send  topic

Author Message
eguven
Posted: 07/31/2002, 5:47 AM

trying to add code :
if tasks.recordset.Fields("user id assign to") = session("UserID") then
tasks.user_id_assign_to.value = "<b><font color = ""blue"">" & tasks.user_id_assign_to.value &
"</font></b>"

user id assign to field's beforeshow event but in live page mode there is an error message returning : wrong syntax...
Nicole
Posted: 08/01/2002, 6:23 AM

Hello,
most probably you have forgotten about "end if":
if tasks.recordset.Fields("user id assign to") = session("UserID") then
tasks.user_id_assign_to.value = "<b><font color = ""blue"">" & tasks.user_id_assign_to.value & "</font></b>"
end if
jbressan
Posted: 08/01/2002, 9:12 AM

Change to code :

It is probable that tasks.user_id_assign_to.value is of entire type for them which you must use this function CCToHTML
if tasks.recordset.Fields("user id assign to") = session("UserID") then
tasks.user_id_assign_to.value = "<b><font color = ""blue"">" & CCToHTML(tasks.user_id_assign_to.value) &
"</font></b>"



   


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.