abenitez77
IS-IT--Management
I always close my recordset and set them to nothing. I do the same with database. Is it necessary to close the recordset if I put set rs = nothing after on the next line?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Long ago there were issues with DAO not working correctly and this was needed. This was not an issue with vb/vba but with DAO implementation. The only time I bother is if I am looping and opening multiple recordsets in code. Since the procedure does not exist before the next recordset is created then you would have to close explicitly.MSDN said:An alternative to the Close method is to set the value of an object variable to Nothing