I currently have this that sends a value to the DB and should return the information I need:
[code=sql]Set RS = createobject("A DODB.Connection ")
Set x1 = server.CreateOb ject("ADODB.Com mand")
With x1
.ActiveConnecti on = gObjConnect
.CommandType = adCmdStoredProc
.CommandText = "s_FRCWP_OpenSP InvoiceList"
.Parameters.App end .CreateParamete r("@DirectoryId ", adInteger,adPar amInput,,94)
.Execute
End With[/code]
But when I try to get the value with something like this:
[code=asp]formString = formString & "<td><input type=""checkbox "" value="""&RS("T ransaction_ID") &"""></td>"[/code]
I get a "Wrong number of arguments or invalid property assignment" error. Now I know I am not doing something right, but I cannot figure out what it is. Any help would be appreciated.
[code=sql]Set RS = createobject("A DODB.Connection ")
Set x1 = server.CreateOb ject("ADODB.Com mand")
With x1
.ActiveConnecti on = gObjConnect
.CommandType = adCmdStoredProc
.CommandText = "s_FRCWP_OpenSP InvoiceList"
.Parameters.App end .CreateParamete r("@DirectoryId ", adInteger,adPar amInput,,94)
.Execute
End With[/code]
But when I try to get the value with something like this:
[code=asp]formString = formString & "<td><input type=""checkbox "" value="""&RS("T ransaction_ID") &"""></td>"[/code]
I get a "Wrong number of arguments or invalid property assignment" error. Now I know I am not doing something right, but I cannot figure out what it is. Any help would be appreciated.
Comment