logo
Previous Thread
Next Thread
Print Thread
#189610 04/23/05 03: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 - 11/29/23 06:21 PM
Homemade Holiday Gifts
by Cheryl - Sewing Editor - 11/29/23 05:08 PM
2023 - on this day in the past . . .
by Mona - Astronomy - 11/29/23 03:50 PM
A Designed Container Garden
by Lestie4containergardens - 11/29/23 02:43 PM
How Do You Celebrate Thanksgiving
by Angie - 11/29/23 09:50 AM
Psalm for the day
by Angie - 11/29/23 09:47 AM
Astro Women - Birthdays
by Mona - Astronomy - 11/28/23 08:29 AM
Between Halloween and the Solstice
by Mona - Astronomy - 11/27/23 04:50 PM
Moisturizing Winter Skin the Right Way
by Angie - 11/27/23 09:20 AM
Increase Sales with Our Dependable Bulk SMS Servic
by Gtech Web Seo - 11/27/23 05:37 AM
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