sql="select * from tablename"
rs.open sql,conn,1,2
if not (rs.bof and rs.eof) then
do while not rs.eof
if rs("a_date") <> "NONE" then
response.write rs("a_date")&"<br>"
end if
if rs("a_comment") <> "NONE" then
response.write rs("a_comment")&"<br>"
end if
if rs("a_time") <> "NONE" then
response.write rs("a_time")&"<br>"
end if
loop
end if
rs.close