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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array of ADODB.Recordset in Javascript ASP

Status
Not open for further replies.

codestorm

Programmer
Apr 11, 2001
504
AU
Can it be done?
There's no problem putting a bunch of
user defined objects in an array, but when
I put a bunch of ADODB.Recordset objects in an
array, I can't reference their methods.

I haven't really tried to solve this one (haven't got time)
but just wondered if it is indeed possible? codestorm
 
I don't think you will be able to access the methods from the array.

You will need to pull out an object reference and use the methods of that.

assuming you have an array of recordsets called rs and you want to do a movefirst operation on each..

for (i=0;i<rs.count;i++)
{
cur_rs = rs;
cur_rs.movefirst();
}

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top