@trincot , ADODB.Recordset, Array, .
Dim data
'... (Recordset connection and execution code omitted)
If Not objRecordset.EOF Then data = objRecordset.GetRows()
GetRows() . , , , , , data,
If IsArray(data) Then
value = data(1, 4)
End If
. Array , 1, - 4.
For, :
Dim row, rows
If IsArray(data) Then
rows = UBound(data, 2)
For row = 0 To rows
'First column of the current row
WScript.Echo data(0, row)
'Second column of the current row
WScript.Echo data(1, row)
'... etc
Next
End If