
26/11/2003, 13:33
|
| | Fecha de Ingreso: junio-2003 Ubicación: Carlos Paz - Cordoba
Mensajes: 91
Antigüedad: 21 años, 10 meses Puntos: 0 | |
Bueno, el tema es que el SP tiene muchos parametros, y ademas necesito conocer el ReturnValue del SP
por eso lo llamo mediante el objeto Command,
y la forma debe ser esta
-----------------------------------------------------------------------------------
StorepBuscadorConf = "sGet_Balance_Consolidado_Proyeccion_temp"
Set oCmd = Server.CreateObject ("ADODB.Command")
with oCmd
.ActiveConnection = oConn
.CommandText = "{? = call " & StorepBuscadorConf & "(?) }"
.Parameters.Append .CreateParameter ("RetVal", adInteger, adParamReturnValue)
.Parameters.Append .CreateParameter ("@IDValoracion", adInteger,adParamInput,,IDValoracion)
set oRec=.Execute()
EjecutaTrx = oCmd("RetVal")
end with
set oCmd=nothing
-------------------------------------------------------------------------------
igualmente gracias
__________________ Daniel Schell
Promoviendo el Desarrollo Humano
www.elsenderodelmedio.com.ar |