Hi everybody,
I have a problem executing a stored procedure from ASP. When I wite the following code:
cmdInsert = Server.CreateObject("ADODB.Command"
cmdInsert.ActiveConnection = conn;
cmdInsert.CommandText = "spInsertActivityLog";
cmdInsert.CommandType = adCmdStoredProc;
an error message comes up saying that 'adCmdStoredProc' is undefined. This is not the first time I use some of the ADO constants and get similar errors Can anyone help me out - I can't figure what the problem is what the problem might be. As you can see I use JScript.
Thanks in advance,
Dmitriy.
Dmitriy
dbrom@crosswinds.net
I have a problem executing a stored procedure from ASP. When I wite the following code:
cmdInsert = Server.CreateObject("ADODB.Command"
cmdInsert.ActiveConnection = conn;
cmdInsert.CommandText = "spInsertActivityLog";
cmdInsert.CommandType = adCmdStoredProc;
an error message comes up saying that 'adCmdStoredProc' is undefined. This is not the first time I use some of the ADO constants and get similar errors Can anyone help me out - I can't figure what the problem is what the problem might be. As you can see I use JScript.
Thanks in advance,
Dmitriy.
Dmitriy
dbrom@crosswinds.net