Ok, corrected my code to what you suggested DatabaseMart:
<% ave_scores = (company_details.Fields.Item("ave_score").Value)
Select Case ave_scores
case >= 4.75 rating_image = "rating-5.gif"
case > 4.25 rating_image = "rating-4+.gif"
case > 3.75 rating_image = "rating-4.gif"
case > 3.25 rating_image = "rating-3+.gif"
case > 2.75 rating_image = "rating-3.gif"
case > 2.25 rating_image = "rating-2+.gif"
case > 1.75 rating_image = "rating-2.gif"
case > 1.25 rating_image = "rating-1+.gif"
case > 0 rating_image = "rating-1.gif"
case else rating_image = "rating-0.gif"
End Select
%>
Error message is basically the same (though the arrow is in a different place..... not sure whats going
Microsoft VBScript compilation error '800a03ea'
Syntax error
/insurance/content_20.asp, line 30
case >= 4.75 rating_image = "rating-5.gif"
-----^
Cheers