oks basta anche
if rs("Attivo") then

if not Rs("attivo") then