D
Dave
I'm trying to execute a stored procedure on a 64bit SQL Server from
ACCESS 2010 using the below:
Dim s As String
Dim cnn As New ADODB.Connection
Dim rst As New ADODB.Recordset
s = "PROVIDER=SQLOLEDB;Data Source=OAKDBS33;" & _
"Initial Catelog=Vortex;" & _
"USER ID=WebAgent_VORTEX;Password=5p0ng3B0b;"
cnn.Open s
Set rst = cnn.Execute("SELECT * FROM Names")
Do Until rst.EOF
Debug.Print rst.Fields(0).Value
rst.MoveNext
Loop
cnn.Close
The Error that I'm getting is Invalid Object Name 'Names'.
Is this associated with the missing JET in 64bit? If so...is there a
resolution? If Not...what am I doing wrong?
ACCESS 2010 using the below:
Dim s As String
Dim cnn As New ADODB.Connection
Dim rst As New ADODB.Recordset
s = "PROVIDER=SQLOLEDB;Data Source=OAKDBS33;" & _
"Initial Catelog=Vortex;" & _
"USER ID=WebAgent_VORTEX;Password=5p0ng3B0b;"
cnn.Open s
Set rst = cnn.Execute("SELECT * FROM Names")
Do Until rst.EOF
Debug.Print rst.Fields(0).Value
rst.MoveNext
Loop
cnn.Close
The Error that I'm getting is Invalid Object Name 'Names'.
Is this associated with the missing JET in 64bit? If so...is there a
resolution? If Not...what am I doing wrong?