ok i have a lot of experiance in VB, but none in VBS, i am trying to detect a NULL value from an Array and replace it with a string
the value is stored in VNR(5)
if VNR(5) is a NULL value then it should be replaced with the string nopic.gif
i know that vales are stored in VNR(5), i have tried using other search values other then NULL, like "1.jpg" which is one of the values that VNR(5) can return, when VNR(5) = "1.jpg", it is not changed to "nopic.gif" so i am quite confused about this.
Code:
<%if VNR(5) = NULL then
VNR(5)= "nopic.gif"
end if%>
<p><img src="Product_Pics\<%= VNR(5) %>" ></p>
any help would be a preciated.