CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 CCS - problem with change color of date output

Print topic Send  topic

Author Message
mike
Posted: 05/20/2003, 2:52 PM

Testing techniques but can't get this one.

Upon a condition, I want to alter color of output in a grid.
All OK except for dates. which return a Cdate error in Classes.asp at line 877. What / how do I treat this code to change the date colors too?
In the code below, which is in before show event of status_id, the dates do not render but throw the error

TIA

Mike.

Function tasks_task_name_BeforeShow() 'tasks_task_name_BeforeShow @44-D58EC925

'Custom Code @215-73254650
If Tasks.status_id.Value = "Closed" then
Tasks.status_id.Value = "<font color=GRAY>"&Tasks.Status_id.Value&"</font>"
Tasks.priority_id.value = "<font color=GRAY>"&Tasks.priority_id.value&"</font>"
Tasks.Type_id.value = "<font color=GRAY>"&Tasks.Type_id.value&"</font>"
Tasks.user.value = "<font color = GRAY>"&Tasks.user.value&"</font>"
Tasks.sdate.value = "<font color = GRAY>"&Tasks.sdate.value&"</font>"
Tasks.edate.value = "<font color = GRAY>"&Tasks.eidate.value&"</font>"
End if
'End Custom Code

End Function 'Close tasks_task_name_BeforeShow @44-54C34B28
mike
Posted: 05/20/2003, 4:14 PM

Got it.

I already had the html switch on but in addition had to change the date fields datatype property to text.


   


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.