All I have this code trying to execute a stored procedure on a sql server:
myQD.Connect = "ODBC;Description=PLYSQL03;DRIVER=SQL Server;SERVER=PLYSQL09;UID=Blahblah;PWD=BlahBlah;"
myQD.SQL = "EXECUTE addUserName '" & UID & "','" & Name & "'"
myQD.Execute
However when i run this I get error 3146 Odbc call failed
Can you help?
myQD.Connect = "ODBC;Description=PLYSQL03;DRIVER=SQL Server;SERVER=PLYSQL09;UID=Blahblah;PWD=BlahBlah;"
myQD.SQL = "EXECUTE addUserName '" & UID & "','" & Name & "'"
myQD.Execute
However when i run this I get error 3146 Odbc call failed
Can you help?