![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I know this is a well trodden path but I am confused. I need to connect an Access 2010 database to a SQL Server. I make two different connections: 1 linking a table: Dim aTable as DAO.TableDef ... aTable.connect = aConnectionString 2 a ADODB connection Dim theConnection As ADODB.Connection Set theConnection = New ADODB.Connection theConnection.Open theConnectionString I am content with most of each connection string but am confused about user id and password. Sometimes I seem to need: UID= username; PWD= password |
|
and at others: User ID = username; Password = password That's the OLE DB syntax - OLE DB is used by ADODB. Where it gets confusing |
|
Can someone please explain when to use one form and when to use the other. I promise to note it down and remember it for future use. |
![]() |
| Thread Tools | |
| Display Modes | |
| |