Print Page | Close Window

ADODB.Recordset error ’800a0cc1’

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=9155
Printed Date: 28 March 2026 at 11:10am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ADODB.Recordset error ’800a0cc1’
Posted By: kokopoko
Subject: ADODB.Recordset error ’800a0cc1’
Date Posted: 22 January 2004 at 4:13pm
I get this error 

ADODB.Recordset error '800a0cc1'

Item cannot be found in the collection corresponding to the requested name or ordinal.

/lpdaac/dynamic.asp, line 77

When this code is run (line 77 highlighted in red)

Dim i, allstates, z, num, maxcounter

for i = 0 to numRecords
    'Response.Write(rsAnswers(i))
    allstates=split(rsAnswers(i),",")
    maxcounter=ubound(allstates)
     for z=0 to num-1
   answer1Array(z)=allstates(i)
 next
 rsAnswers.MoveNext
next

Any ideas?




Replies:
Posted By: MorningZ
Date Posted: 23 January 2004 at 11:18pm

i'm pretty sure that the columns are 0 indexed, so

for i = 0 to numRecords

should be

for i = 0 to (numRecords - 1)

 



-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net