It just has two parameters ID, Pos
Error:
Microsoft VBScript runtime error '800a01be'
Object doesn't support named arguments: 'CommandText'
/sp/saveit.asp, line 24
----------
DougP
Error:
Microsoft VBScript runtime error '800a01be'
Object doesn't support named arguments: 'CommandText'
/sp/saveit.asp, line 24
----------
Code:
ID=Request.QueryString("ID")
Pos=Request.QueryString("Pos")
Set cmd = server.CreateObject("ADODB.Connection")
cmd.Open "driver=SQL Server;server=000.000.000.000;uid=user;pwd=Password;database=mydb;"
cmd.CommandText = "InsertTransaction"
cmd.CommandType = adCmdStoredProc
cmd.Parameters.Refresh
cmd.Parameters(1) =ID
cmd.Parameters(2) = Pos
cmd.Execute
DougP