|
-
Jun 2nd, 2003, 10:59 PM
#1
Thread Starter
New Member
crystal report & Store procedure
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|