Probabile la query non riporti alcun risultato.
devi sempre testare che il record non sia vuoto.

if not rs1.EOF then
'ok
else
'vuoto
end if

Roby