Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.querydao,microsoft.public.excel.programming
|
|||
|
|||
![]()
"Andre" wrote in message
... At first, yes. But the error persists even after installing the latest version of MDAC. I have the same problem which I cannot resolve, what drivers do I need ? Sub Testing() Dim cmdCommand As New ADODB.Command Dim recSet As New ADODB.Recordset Dim cn As New ADODB.Connection cn.ConnectionString = "Server=dimension9150;Database=IPS;Trusted_Connect ion=True" cn.Open cmdCommand.ActiveConnection = cn cmdCommand.CommandText = "GetMonitors" cmdCommand.CommandType = adCmdStoredProc Set recSet = cmdCommand.Execute Debug.Print recSet(0) recSet.Close End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Connect PC to UNIX via TCP/IP | Links and Linking in Excel | |||
Excel cannot connect to web | Excel Discussion (Misc queries) | |||
connect to MS SQL | Excel Programming | |||
connect to an oracle db | Excel Programming | |||
SQL Connect | Excel Programming |