Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The statement parameter can only be a single select or a single stored

Status
Not open for further replies.

Deadline

Programmer
Feb 28, 2001
367
US
"The statement parameter can only be a single select or a single stored procedure"

- I get the above error message, when I try to execute the following inside a FOR loop
Code:
Set rs = Server.CreateObject("ADODB.Recordset")
FOR i = 0 to UBOUND(somearray)

...
...

rs.Open sSQLEvent, cn,2
mArray = Split(rs.GetString(2,,",",","),",")
rs.Close
NEXT
Thank you,
RR.
__________________________________
The best is yet to come.
 
It is a simple SQL SELECT Statement. I apologise for not making it clear.

Thank you,
RR.
__________________________________
The best is yet to come.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top