I want to get a table into a bidimensional array in vbscript (I'm using asp to access a mdb), anyway, I was trying to make it like this:
'Levels'
Dim one : one = Array()
Dim two : two = Array()
Dim three : three = Array()
Dim four : four = Array()
Dim five : five = Array()
Dim level
recordset.open sql, connection
If recordset.RecordCount <> 0 Then
For Each record In recordset
level = record("Level")
Select Case level
Case 1
Case 2
Case 3
Case 4
Case 5
End Select
Next
End If
but it seems it doesn't work, also I'm not sure if the bidimensional variable declaration is the right way of doing it.
Can some one enlighten me? Thanks in advance.