If value is not one of statement
Posted on 2005-04-13
I have the following IF statement within an ASP page
<% if (Recordset1.Fields.Item("productimage").Value) <> "albafill1.jpg" then %>
My problem is that I would like to check that my productimage value is not equal to "albafill1.jpg" OR "albafill2.jpg"
I am struggling with the correct syntax to check that my value is not equal to more than one value.
Can anyone assist?
Thanks in advance