tnx!
I work on
VB, how com this doesnt work? (ADO 2.6,
VB 6.0 Ent)
-----------------------------------
cmd.ActiveConnection = SPConn
cmd.CommandText = "sp_helprolemember"
cmd.CommandType = adCmdStoredProc
cmd.Parameters.Refresh
'Set the param value.
cmd(1) = "db_owner"
Set rs = cmd.Execute
-----------------------------------
i get this error
"Item cannot be found in the collection corresponding to the requested name or ordinal."
but when i do it in query analyser it works just fine