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
Inspiration Quote
by Angie - 04/17/24 03:33 PM
Sew a Garden Flag
by Cheryl - Sewing Editor - 04/17/24 01:24 PM
Review - Notion for Pattern Designers: Plan, Organ
by Digital Art and Animation - 04/17/24 12:35 AM
Review - Create a Portfolio with Adobe Indesign
by Digital Art and Animation - 04/17/24 12:32 AM
Psalm for the day
by Angie - 04/16/24 09:30 PM
Check Out My New Website Selective Focus
by Angela - Drama Movies - 04/16/24 07:04 PM
Astro Women - Birthdays
by Mona - Astronomy - 04/12/24 06:23 PM
2024 - on this day in the past ...
by Mona - Astronomy - 04/12/24 06:03 PM
Useful Sewing Tips
by Cheryl - Sewing Editor - 04/10/24 04:55 PM
"Leave Me Alone" New Greta Garbo Documentary
by Angela - Drama Movies - 04/09/24 07:07 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