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 30th, 2003, 09:58 PM
Authorized User
Join Date: Oct 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default I'm stuck!

Ok, so I keep getting this error message:
Microsoft VBScript runtime error '800a01a8'

Object required: 'True'

/pandadot/esubmit.asp, line 8
Can someone tell me what I am doing wrong?

<title>Thanks for joining our mailing list!</title>
        Dim objConn
        set objConn = DSN=DSN_pandadot
        Dim rsusers
         Set rsusers = Server.CreateObject("ADODB.Recordset")        rsusers.Open "pandainfo", objConn
                rsusers("Email") = Request.Form("emailfield")rsusers.Update
Response.write("Your e-mail address has been added to our mailing list.")

Sorry about the formatting of the code, but you get the idea.

Old October 31st, 2003, 12:19 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran

try this code
dim con,rsusers
set con=server.CreateObject("adodb.connection")
set rsusers=server.CreateObject("adodb.recordset")
con.open str
sql="select * from pandainfo"
rsusers.open sql,con,1,3

        Response.write("Your e-mail address has been added to our mailing list.")

Old November 3rd, 2003, 12:52 AM
Authorized User
Join Date: Oct 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

That worked really well. Thanks!!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck on the first chapter flashster BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 September 1st, 2006 03:40 AM
I am deucedly stuck here rbalagr Beginning VB 6 2 July 6th, 2006 07:19 AM
Help - I'm Completely Stuck hugh@kmcnetwork.com ASP.NET 1.x and 2.0 Application Design 1 May 16th, 2006 10:12 AM
Help!! I am completely stuck... andrewba Classic ASP Components 5 May 12th, 2005 04:50 AM
stuck on a field reindeerw Access 0 August 3rd, 2004 10:41 AM

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