[RESOLVED] VBScript Array Help!
I've had a good look through the old posts and i cant find anything which helps me with this (probably newbie) probelm... any advise or links of use would be appreciated.
I have a recordset, and used it to dim an array, but i'm struggling to get the array to display as the recordset does (like when you look at it in sql). Array's aren't my favourite atm :confused:
This does display all the data, but the axis' are the wrong way round, E.g.
If request("subbut")="Search" then
sSql="myStoredProc '"&session("selclient")&"', "&session("srch")
rsmTmp.Open sSql, connSub()
If not rsmTmp.EOF then
[i use this fso later]
arrResult = rsmTmp.getrows()
If isarray(arrResult) then
for x = 0 to Ubound(arrResult)
for y = 0 to Ubound(arrResult,2)
response.write "<p>No Results</p>"
row1 cell1, row2 cell1, row3 cell1 etc.
row1 cell2, row2 cell2, row3 cell2 etc.