Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 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 November 27th, 2003, 10:47 AM
Registered User
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 15 help

Hi there all. I'm new to the forum. I have a problem with chapter 15. To be precise, it occurs when I have coded as far as MenuForRegisteredUsers.asp and then choose type in details into register.asp and press submit. I get the following error:

Error Type:
ADODB.Recordset (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/BegASP/AddUser.asp, line 20

I have checked for any spelling mistakes, any discrepencies with the code and also downloaded the source code and checked it against my own code, to no avail. Can anyone help?

Thanks, Greg
Old November 27th, 2003, 01:00 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

This error occurs when there is no record in the recordset you retrieved by executing a query (SQL statement) against the database.

Is the data supposed to be there? Does the table you query contain records at all?

It's always good practice to see if you have any results, before you use the recordset. This works like this:

' Create Recordset here
If Not myRecordset.EOF Then
  ' There *are* records
  ' There are no records
End If

If this doesn't help, I suggest you post some code; I don't have the book, so I don't know what code you're referring to.



Imar Spaanjaars
Everyone is unique, except for me.

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 15 help kyledonmoyer BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 June 30th, 2007 08:06 AM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 2 March 13th, 2006 04:48 PM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 1 June 18th, 2005 11:05 AM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 0 April 22nd, 2005 02:23 PM
Chapter 15!! studentinpain BOOK: Beginning ASP 3.0 16 March 12th, 2004 10:26 AM

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