Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello all,
I solved this by using another append parameter statement to add a value (sParm2Name) to the ADOcmd.Parameters object using the following code: 'Set Parameters sParmName = "@ReportDate" Set ADOPrm = ADOCmd.CreateParameter(sParmName, adVarChar, adParamInput, 8, ReportDate) ADOCmd.Parameters.Append ADOPrm sParm2Name = "@action" Set ADOPrm = ADOCmd.CreateParameter("sParm2Name", adInteger, adParamInput, 4, resultSetNo) ADOCmd.Parameters.Append ADOPrm 'Execute Query Set ADORs = ADOCmd.Execute Amit |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SQL Stored proc - passing parameters | Excel Programming | |||
External Data from Stored Procedure with parameters | Excel Programming | |||
Passing an array or recordset to a stored procedure | Excel Programming | |||
Passing an array or recordset to a stored procedure | Excel Programming | |||
Stored Procedure call and passing parameters | Excel Programming |