Asp object won't except null passed from database

SelahW

New Member
This code works fine when there is a entry in the database, however when I remove the entry it errors out. I believe it's not taking in a null value. I don't really work asp but I would really like to understand how to make it work if there is no value in the database\[code\]<%Dim rsValuegParama = "^Param1^,^Param2^"set rsValue = http://stackoverflow.com/questions/12514165/GetData(000, gParama,"","")sURL= rsValue("table column")rsValue = http://stackoverflow.com/questions/12514165/nothing%><html> .......<% if sURL <>"" then %> <td> <a href=http://stackoverflow.com/questions/12514165/<%sURL%> class="user"> <img src= "http://stackoverflow.com/questions/images/random.gif" > RANDOM</a> </td> <%end if%> ....... </html>\[/code\]
 
Back
Top