This doesn't work:
cn.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=N:\applications\ownhist.dsn;"
What's wrong?
I received Error massage:
Data source name not found.
after creating file dsn you should use ADODC. then try to connect with that dsn through adodc properties. If connection eshtalished properly then you get the string in a text box of the connection. Copy it and place it after cn.open. I hope you get the solution.
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.