September 13, 2012 at 8:03 am
I used the Access upsize wizard to split my database. I still wish to use the Access for the frontend and I don't want to have to go to all the computers to setup the ODBC connection.
I have been trying to add some code to the autoexec macro/module in access and the connection fails.
Here is one of my tries, but I have done it a gazillion other ways also without success.
oConn.Open "ODBC;Driver={SQL Server};" & _
"Server=xxxxMSQL01;" & _
"Database=sublist;" & _
"Trusted_Connection=Yes"
Can anyone help?
Thanks. [Smile]
September 13, 2012 at 10:05 am
Duplicate post. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1358585-149-1.aspx
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply