[thelist] ASP Question: If there is nothing to pull from the database...

josh evolt at efeingold.com
Thu Dec 27 14:48:22 CST 2001


It depends on the query you use to access the data which depends on the 
structure of the database. 

If the recordset is returned with multiple columns, you would want to test 
for a null value in the recordset of that column.  Use the isnull function. 

e.g. 

if isnull(rs("test")) then
response.write("Be the first to add a comment...")
end if 

Josh





More information about the thelist mailing list