tsdeveloper
Jun 2nd, 2003, 10:59 PM
Hi,
i want to run a store procedure. But crystal report send a error
message.tell me that error detected by databese dll.
How can i solve this problem?
Set Cmd1 = New ADODB.Command
Set Cmd1.ActiveConnection = DB_Cnn1
Cmd1.CommandText = "sp_xxx"
Cmd1.CommandType = adCmdStoredProc
Set param1 = Cmd1.CreateParameter("Age", adVariant, adParamInput, , 23)
Cmd1.Parameters.Append param1
cmd1.execute
Report.Database.AddADOCommand DB_Cnn1, Cmd1 ' Here is problem.
i want to run a store procedure. But crystal report send a error
message.tell me that error detected by databese dll.
How can i solve this problem?
Set Cmd1 = New ADODB.Command
Set Cmd1.ActiveConnection = DB_Cnn1
Cmd1.CommandText = "sp_xxx"
Cmd1.CommandType = adCmdStoredProc
Set param1 = Cmd1.CreateParameter("Age", adVariant, adParamInput, , 23)
Cmd1.Parameters.Append param1
cmd1.execute
Report.Database.AddADOCommand DB_Cnn1, Cmd1 ' Here is problem.