Hi Guys,
Im a bit of a newbie to VBScript and wondered if someone could help me out.
I have some fields that are taken from a recordset on an ASP page.
If one of the fields has a value I want the other field to show in RED.
Im not realy sure how to do this??
This is what I want to say roughly
<%
If (Recordset1.Fields.Item("sire_title").Value)<> "" Then
(Recordset1.Fields.Item("sire_txt").Value).ForeColor = vbred
End If
%>
I realise my syntax will be way off, can anyone advise me here?
Regards as ever
Colin
Im a bit of a newbie to VBScript and wondered if someone could help me out.
I have some fields that are taken from a recordset on an ASP page.
If one of the fields has a value I want the other field to show in RED.
Im not realy sure how to do this??
This is what I want to say roughly
<%
If (Recordset1.Fields.Item("sire_title").Value)<> "" Then
(Recordset1.Fields.Item("sire_txt").Value).ForeColor = vbred
End If
%>
I realise my syntax will be way off, can anyone advise me here?
Regards as ever
Colin