Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 6th, 2006, 02:31 PM
Authorized User
 
Join Date: Aug 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADODB.Field error '800a0bcd' - FIXED

PLEASE HELP.

I have searched online and worked on this, but I cannot figure it out!

The database record IS THERE AND IT HAS CONTENT, IT DOES EXIST.

How to fix this error?????

COMPLETE ERROR:

ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/WEBSITE/includes/thestupidfile.asp, line 6

HERE IS LINE 6 AND THE LINES SURROUNDING IT (NOTE - each record can have 3 topics, sometimes the record has 1, sometimes 2 and sometimes 3 topics maximum assigned to it)

<% Function TopicName(item)
Dim iCount
rsTopics.MoveFirst()
iCount = (rsTopics.Fields.Item("ID").Value)
For iCount = (rsTopics.Fields.Item("ID").Value) to 1 step -1
If (item)=(rsTopics.Fields.Item("ID").Value) Then Response.Write(rsTopics.Fields.Item("Topic").Value )
End If
rsTopics.MoveNext()
Next
End Function

Function InvestigatorName(item)
Dim iCount2
For iCount2 = (rsInvestigators.Fields.Item("InvestigatorID").Val ue) to 1 step -1

THANK YOU for any suggestions you might have to resolve this.

---BuddyZ
 
Old October 6th, 2006, 02:39 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Are you sure that the sql query you *think* your executing is actually the query your executing (read as, have you printed the statement out to the screen to verifiy it)

Are you sure that you have a result set returned to your recordset object?



--Stole this from a moderator

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
 
Old October 9th, 2006, 05:52 PM
Authorized User
 
Join Date: Aug 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks - I got it. There was an inadvertent omission of a record in the database. I reinstated it, and everything is fine.

Thanks!

Buddy Z






Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Row Colours dependant on a field- FIXED Andrew.Berry ASP.NET 2.0 Basics 6 December 13th, 2007 05:59 AM
write text file with fixed field length hugoscp Classic ASP Professional 0 June 27th, 2007 06:12 AM
Query statement has nonexistent field names-FIXED buddyz Classic ASP Databases 3 August 30th, 2006 09:46 AM
ADODB.Field error '80020009' EricTheViking Access ASP 2 August 16th, 2005 12:45 AM
Help me on Fixed Field Length data files hossrad SQL Server DTS 3 January 29th, 2005 07:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.