Hello!
1. You are using "NEW" twice:
Dim ... as New ...
and
Set ...= New ...
for Connection and Recordset statements.
2. If you do not suppose to modify recordset values, instesd of "...,adOpenDynamic, adLockOptimistic" use "...adOpenForwardOnly, adLockReadOnly".
eudf
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.