logo
Previous Thread
Next Thread
Print Thread
#189610 04/23/05 04:36 AM
Joined: Apr 2005
Posts: 1
N
NooRPal Offline OP
Newbie
OP Offline
Newbie
N
Joined: Apr 2005
Posts: 1
i have this connection and event whos should be done in asp

[color:"red"]
<%@ Language=VBScript CodePage = "1256"%>

<!--#include file="connection.txt" -->

<%
name = request.form ("name")
email = request.form ("email")
country = request.form ("country")
cFound = request.form ("cFound")
instit = request.form ("instit")
subject = request.form ("subject")
comments = request.form ("comments")

addSQL= " insert into feedback (name,email,country,cFound,instit,subject,comments) values ('"&name&"','"&email&"','"&country&"','"&cFound&"','"&instit&"','"&subject&"','"&comments&"') "
ADO.execute(addSQL)

response.redirect "feedback.asp"

ADO.close

%>
[/color]

i get this error
[color:"red"]
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/multaqa/add_to_feedback.asp, line 15
[/color]

Sponsored Post Advertisement
Joined: Jan 2004
Posts: 22,934
Likes: 4
BellaOnline Editor
Highest Posting Power Known to Humanity
Offline
BellaOnline Editor
Highest Posting Power Known to Humanity
Joined: Jan 2004
Posts: 22,934
Likes: 4
You don't give ANY information there <img src="/images/graemlins/smile.gif" alt="" /> All you give is the SQL text line, and then an execute statement. You don't say at all how you set up the ADO object which is what the error is saying. It's saying that you are not setting up the object properly to do an update style statement on your database.

Also, just what is the key of that table??? I don't see anything in there that could be a key, unless you have a Unique ID field on that table?


Lisa Shea, Low Carb and Video Games Editor
Low Carb Forum

Moderated by  Lisa LowCarb 

Link Copied to Clipboard
Brand New Posts
Make It Sew Easier
by Cheryl - Sewing Editor - 03/27/24 04:34 PM
2024 - on this day in the past ...
by Mona - Astronomy - 03/27/24 01:31 PM
Planner Template Kit - Weekly Layout Template
by Digital Art and Animation - 03/26/24 07:39 PM
Planner Template Kit - Yearly Layout Template
by Digital Art and Animation - 03/26/24 07:37 PM
How to Use Digital Planner Template Kit
by Digital Art and Animation - 03/26/24 07:36 PM
Review - 20 Illustrator Color tips Helen Bradley
by Digital Art and Animation - 03/26/24 07:32 PM
March Equinox to June Solstice
by Mona - Astronomy - 03/26/24 12:27 PM
Hobotrader unleashes never seen opportunity with i
by Jamal molla - 03/26/24 11:55 AM
Psalm for the day
by Angie - 03/25/24 09:05 AM
Genealogy, Sort of
by Angie - 03/24/24 05:39 PM
Sponsor
Safety
We take forum safety very seriously here at BellaOnline. Please be sure to read through our Forum Guidelines. Let us know if you have any questions or comments!
Privacy
This forum uses cookies to ensure smooth navigation from page to page of a thread. If you choose to register and provide your email, that email is solely used to get your password to you and updates on any topics you choose to watch. Nothing else. Ask with any questions!


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2022 Minerva WebWorks LLC. All rights reserved.


Powered by UBB.threads™ PHP Forum Software 7.7.5