Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > ASP E-commerce
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 12th, 2004, 12:26 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beg. e-comm. with VB,ASP, SQL & MTS

Hi!
 have been tring to submit data to a database.
When i run the page it return with an error of:

Error Type:
ADODB.Field (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

/JoCofee/checkout.asp

Hope you can help me

Thanks,


  #2 (permalink)  
Old January 8th, 2005, 11:02 PM
Registered User
 
Join Date: Nov 2003
Location: Omaha, Nebraska, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You definitely need to scour the web and look for database recordset tutorials and follow them closely.

Copy some code and disect it. That is a great way to learn without incurring a lot of expense.

There are also some great books on the market that you find at your local B&N or borders. I think WROX actually publishes one called ASP Databases.

From your question it sounds like your SQL statment is off or you are not using any type of recordset reference in your code to check if any records are to be returned, such as
Code:
IF NOT RS.EOF Then
   Do Until RS.EOF

   strVar1 = RS("field1")

   RS.MoveNext
   Loop
End If
Cheers,
Christian
  #3 (permalink)  
Old January 8th, 2005, 11:04 PM
Registered User
 
Join Date: Nov 2003
Location: Omaha, Nebraska, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oops...

hey buddy sorry about the code example. that was for a recordset retrieval and i see you are posting information to a database, most likely using the UPDATE query in your SQL statement.

You are most likely trying to update a record by improperly referencing the identity of the record.

Check out the tutorials online or buy a good book.


Thanks in Advance,
CoolPeep
  #4 (permalink)  
Old January 10th, 2005, 12:32 AM
Friend of Wrox
 
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

1. Use this line to check End of File / Begining of File :: If RSet.EOF And RSet.BOF Then

2. OR Check this link :: http://www.webthang.co.uk/tuts/tuts_...k_errors.asp#5

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beg ASP.NET 2.0 VB: Worst book from Wrox rollercoaster BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 August 31st, 2006 08:03 AM
Beg. ASP.Net eCommerce with VB.Net - Chapter 5 James Hendrix All Other Wrox Books 0 October 22nd, 2003 10:45 PM



All times are GMT -4. The time now is 11:39 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.