Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ODBC-connection to sublist failed Expand / Collapse
Author
Message
Posted Monday, September 10, 2012 2:21 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, October 29, 2012 2:33 PM
Points: 9, Visits: 18
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=sublistL;" & _
"Trusted_Connection=Yes"

Can anyone help?

Thanks.
Post #1357006
Posted Thursday, September 13, 2012 7:59 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, June 27, 2014 2:05 PM
Points: 287, Visits: 810
I'm not sure quite what you are doing with Access macros in conjunction with SSIS? Using as a front end you mean that it fires ssis packages??

can you elaborate on the entire process a bit as maybe you need to post in a different forum to get helpful responses, but I'm really unclear on the issue.
Post #1358579
Posted Thursday, September 13, 2012 8:03 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, October 29, 2012 2:33 PM
Points: 9, Visits: 18
I probably did post in the wrong forum. Thanks.
Post #1358583
Posted Thursday, September 13, 2012 10:05 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 8:56 PM
Points: 13,078, Visits: 12,529
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 Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1358687
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse