Try this.
for (var i;i <RSMain.Length -1;i++){
var rst = RSMain[i]
while (!rst.EOF)
{
strDisplay =3D rst.Fields(0).Value
}
}
If this doesn't work then try putting these lines into the above statement
var rst = new ActiveXObject("ADODB.Recordset")
rst = RSMain[i]
> I totally agree with you TeknoFX, but the problem is that when the =
> strArray1,strArray2,strArray3 are ready to be returned from VB I put =
> strArray1,strArray2,strArray3 in one objarray and returns only objarray
as =
> Variant to javascript.=20
>
> In javascript, I watch the value returned and when I drill down on =
> objarray I see that objarray has my 3 other arrays or objects if you
will, =
> in it. Note that objarray is just a simple array that contains 3 other =
> arrays and these 3 other arrays are ADO RECORDSETS OBJECT.
>
> My question is how do I get the 3 arrays out fom the objarray. You must =
> see objarray as a containner which holds 3 recordsets.
> This is why I tried the following code but it gives me an error.
>
> var RSMain;
>
> RSMain =3D " the call to the component which returns objarray"
> for (var i;i <RSMain.Length -1;i++)
> {
> while (!RSMain[i].EOF)
> {
> strDisplay =3D RSMain[i].Fields(0).Value=20
> }
> }
>
>
> Please if there is someone who knows what I am talking about help me.
>
> Otherwise I have to make 3 different calls to fill the 3 different combo
=
> boxes on the page. The idea is that I do not want the user
> to sit and wait while the call are made to fill 10 combo boxes.
>
> Thank you
>
> Anthony Delcy