![]() |
Simple VB script question (real easy)
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 any help would be a preciated. |
Try:
Code:
if IsNull(VNR(5)) then |
well that helps, the is null fired just fine but it says that VNR(5) does not suport updating, im sure i can get that on my own, trhanks foir the help Stompy
|
Code:
<%pic=VNR(5)%> thanks again |
All times are GMT -8. The time now is 04:37 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project