Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type Mismatch error - why?

Status
Not open for further replies.

JanS

Technical User
Feb 21, 2001
77
AU
Hi,

When I run the following code I get this error:

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'rsCustomerList'

Any ideas what I am doing wrong? I am trying to load data from a recordset into an array.

Thanks
Jan

<%
dim my_array()
dim i
i = 1

rsCustomersList.movefirst
do until rsCustomersList.EOF
redim preserve my_array(i)
my_array(i) = (rsCustomerList(&quot;Report_Name&quot;))
rsCustomersList.movenext
i = i + 1
loop
%>
 
dont worry - Ive worked it out - if only I could type

thanks anyway
jan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top