After I tried the solution provided by Brian Alves from
http://www.tek-tips.com/viewthread.cfm?qid=82995&page=193
with
Report.Database.LogOnServer "P2SODBC.DLL", "dsnname", "dbname", "userid", "pwd"
(dsn works fine alone on testing)
Or
Report.Database.LogOnServer "P2SOLEDB.DLL"...
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.