Having database pull a value from the table, would like the results to be color coded based on what the field is. The fields are also repeat region
<% If (Recordset1.Fields.Item("pilot_status"
.Value) = "Online" Then%><td width="50" color="#33FF00"><% Else %><td width="50" color="#FFCC66"><% End If %>
for some reason UD4 removes all but:
<%=If(Recordset1.Fields.Item("pilot_status"
.Value)= "Online"%>
Also get this error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/db/test.asp, line 49
Response.Write(If(Recordset1.Fields.Item("pilot_status"
.Value)= "Online"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Any ideas? I am looking to change just the font color based on results.
Thank you in advance
<% If (Recordset1.Fields.Item("pilot_status"
for some reason UD4 removes all but:
<%=If(Recordset1.Fields.Item("pilot_status"
Also get this error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/db/test.asp, line 49
Response.Write(If(Recordset1.Fields.Item("pilot_status"
Any ideas? I am looking to change just the font color based on results.
Thank you in advance