Hello Guys I have a problem im am trying to execute the following oracle SP but im getting the error:
"Snytax Error Or Access Violation"
When i run the same line in Worksheet it executes it sucesfully..any ideas?
Dim oCommand As New ADODB.Command
oCommand.ActiveConnection = "Driver={Microsoft ODBC for Oracle};Server=myserver;Uid=u;Pwd=pw;"
Linerun = "execute INVENTORY_POST('Xiacon','R','CTL006','003','02-44-845','HL-25-06Z1.35%','+','240','EA','VISHAY','','','','01092002','1','240','BOX');"
oCommand.CommandText = Linerun
oCommand.CommandType = adCmdStoredProc
oCommand.Execute , , adOptionUnspecified
Thanks a lot! Gordon R. Durgha
gd@vslink.net
"Snytax Error Or Access Violation"
When i run the same line in Worksheet it executes it sucesfully..any ideas?
Dim oCommand As New ADODB.Command
oCommand.ActiveConnection = "Driver={Microsoft ODBC for Oracle};Server=myserver;Uid=u;Pwd=pw;"
Linerun = "execute INVENTORY_POST('Xiacon','R','CTL006','003','02-44-845','HL-25-06Z1.35%','+','240','EA','VISHAY','','','','01092002','1','240','BOX');"
oCommand.CommandText = Linerun
oCommand.CommandType = adCmdStoredProc
oCommand.Execute , , adOptionUnspecified
Thanks a lot! Gordon R. Durgha
gd@vslink.net