Try removing the
dbOpenSnapshot from the set statement.
Do you know where the error occurs?
Is it the Set rs statement or later?