zozoll | Code :
- Set oCmd = Server.CreateObject("ADODB.Command" )
- With oCmd
- .ActiveConnection = Application("strconnect" )
- .CommandType = 4
- .CommandText = "frm_add_adddefaultpath"
- .Parameters.Append .CreateParameter("@user", adVarChar, adParamInput, 32, sLogin)
- .Parameters.Append .CreateParameter("@path", adVarChar, adParamOutput, 64)
- .Execute, , adExecuteNoRecords
- sPath = .Parameters(1)
- End With
- Set oCmd = Nothing
|
Voila un exemple fonctionnel, a toi d'adapter tes parametres |