getting started with ADO and Oracle [message #99642] |
Sun, 03 February 2002 18:46 |
Dominic
Messages: 7 Registered: July 2000
|
Junior Member |
|
|
I'm trying to link into an oracle table from Access. I use the following code:
Dim cnMac As ADODB.Connection
Set cnMac = New ADODB.Connection
cnMac.Open "Provider=MSDAORA;Data Source=localhost;" & _ "User ID=demo252;Password=demo252"
but get an error:
ORA-12514:TNS: Listener could not resolve SERVICE_NAME given in connection descriptor.
I've only just started with interfacing oracle with access and am sure theres a simple solution to my problem, but can't work out what.
|
|
|
|
|