ho risolto inserendo solo

if adoc1.recordset.eof = true then...