S
SIMON GARE
Hi,
I have a table with dynamic values form the a recordset, one matches upto
the other and sets the background images accordingly and everything is
working ok to a point.
Problem is that there are more than 2 options (i.e. types of vehicle) I need
4 options, types of vehicle are
Standard
Executive
MPV
Estate
The snippet below only returns 2 values and need 2 more.
<td width="80" <%
Record3 = Recordset1.Fields.Item("VEHICLE_TYPE").Value
Record4 = Recordset3.Fields.Item("vehicle").Value
If Record3 = Record4 Then
strbackground="images/VTypeStandard.gif"
Else
strbackground="images/VTypeExec.gif"
End If
%> Background="<%=strbackground%>">
Thanks in advance
Simon
I have a table with dynamic values form the a recordset, one matches upto
the other and sets the background images accordingly and everything is
working ok to a point.
Problem is that there are more than 2 options (i.e. types of vehicle) I need
4 options, types of vehicle are
Standard
Executive
MPV
Estate
The snippet below only returns 2 values and need 2 more.
<td width="80" <%
Record3 = Recordset1.Fields.Item("VEHICLE_TYPE").Value
Record4 = Recordset3.Fields.Item("vehicle").Value
If Record3 = Record4 Then
strbackground="images/VTypeStandard.gif"
Else
strbackground="images/VTypeExec.gif"
End If
%> Background="<%=strbackground%>">
Thanks in advance
Simon