AlaskanDad
Programmer
I've got a recordset that I'm bringing into a two dimensional array. It will look something like this:
1234 324568
2345 456789
1222 308923
5555 984023
I have a large grid of table cells named from 1000 to 7777. I want to display the six digit number in the appropriate cell and leave the others open. Since I only expect my array to have under 100 rows, I don't want to do 7777 filtered database queries. Instead, I'd like to just do a quick filter on the array that I've pulled.
On each cell, I'd like to do something like this:
IF ThisCellsName is found in the first column of the array THEN
response.write TheSecondColumnNumber
Else
response.write "Open"
End If
Any suggestions on how to perform a filtered search on a two dimensional array?
Thanks,
Rob
1234 324568
2345 456789
1222 308923
5555 984023
I have a large grid of table cells named from 1000 to 7777. I want to display the six digit number in the appropriate cell and leave the others open. Since I only expect my array to have under 100 rows, I don't want to do 7777 filtered database queries. Instead, I'd like to just do a quick filter on the array that I've pulled.
On each cell, I'd like to do something like this:
IF ThisCellsName is found in the first column of the array THEN
response.write TheSecondColumnNumber
Else
response.write "Open"
End If
Any suggestions on how to perform a filtered search on a two dimensional array?
Thanks,
Rob