![]() |
ASP Problem
Hi,
I have an ASP page that I created. It opens a recordset, and puts the values into an array using getrows. There are only two records in the database. (access) Now the problem is that when I get the ubound of the array, instead of returning 1 - which would be correct, it returns 3.... this means I get a error when the page tries to display 2 and 3 as they do not exist. Anyone got any ideas? My Code is below.. Code:
<% |
Re: ASP Problem
DOH!!! I'm so stupid!
Because its a 2d array I should have got the Ubound by using - Ubound(myarray, 2) It works now! |
| All times are GMT. The time now is 11:06. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum