Hello,
I am doing a bmw tracking project for school using asp and access2000.
on my search.asp page, I can search for a particular bmw and order it if
i want. It works fine when i do select query to get data. But when I try
to order a bmw(using update query), it gives me this message error:
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/bmw/search.asp, line 257
I have gone in to set IIS permission status to both read/write and
change everything that seemed obvious. but i still get this same error
message. Thank you in advance for anyone that can help me.
thank you,
JImm
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! 5 3513
"Jimmy Tran" wrote ... But when I try to order a bmw(using update query), it gives me this message error: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /bmw/search.asp, line 257
Hi Jim,
please post your SQL statement(s)..
Regards
Rob
Give read/write NTFS permissions to IUSR on the directory with the .mdb
file.
Ray at work
"Jimmy Tran" <hu*******@yaho o.com> wrote in message
news:un******** ******@TK2MSFTN GP10.phx.gbl... Hello, I am doing a bmw tracking project for school using asp and access2000. on my search.asp page, I can search for a particular bmw and order it if i want. It works fine when i do select query to get data. But when I try to order a bmw(using update query), it gives me this message error: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /bmw/search.asp, line 257
I have gone in to set IIS permission status to both read/write and change everything that seemed obvious. but i still get this same error message. Thank you in advance for anyone that can help me.
thank you, JImm
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
You need to have write permissions on the folder you Access database is
in. It has nothing to do with your SQL query.
Andrew
DEVBuilder.org, http://www.DEVBuilder.org
ASP,ASP.NET,VB. NET,PHP,Java,an d SQL Support, all in one place. http://www.aspfaq.com/2062
--
Aaron Bertrand
SQL Server MVP http://www.aspfaq.com/
"Jimmy Tran" <hu*******@yaho o.com> wrote in message
news:un******** ******@TK2MSFTN GP10.phx.gbl... Hello, I am doing a bmw tracking project for school using asp and access2000. on my search.asp page, I can search for a particular bmw and order it if i want. It works fine when i do select query to get data. But when I try to order a bmw(using update query), it gives me this message error: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /bmw/search.asp, line 257
I have gone in to set IIS permission status to both read/write and change everything that seemed obvious. but i still get this same error message. Thank you in advance for anyone that can help me.
thank you, JImm
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
here's part of the code, thx
Case "editsave"
' Part 2 of 2: Here's where we save the values that the
' user entered back to the DB. Again... no error
' handling or input checking so ' characters and invalid
' values will throw error messages.
iRecordId = Request.Form("i d")
iRecordId = Replace(iRecord Id, "'", "''")
' Date delimiter on this should be changed to # for Access
strSQL2 = "UPDATE car SET stat= 'O' WHERE (id = " & iRecordId & ")"
'strSQL2 ="select * from car where id = "& iRecordID &""
response.write strSQL2
Set rstSearch = cnnSearch.Execu te(strSQL2)
cnnDBEdit.Close
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dermot O'Loughlin |
last post by:
Can anyone help me with this?
I get the following error when using the odbc adapter wizard in VS.Net
2003:
---------------------------
Wizard Form
---------------------------
An unexpected error has occurred.
|
by: alan |
last post by:
I've use VB.NET+Access to write build a simple POS application. For
example i got two computer, comp A and comp B. Which comp A share a
Access db file through the network. When open a new bill, the
application will get the latest bill Id from the Access db file and
then update the bill Id=bill Id+1. Right now comp A have already get
the bill Id and update the bill Id=bill iD+1. 2 sec later, comp B also
try to get the bill Id. There is no...
|
by: Charlie |
last post by:
Hi:
I get a TreeNode binding error when using Data property of XmlDataSource
control. When I switch to TextFile property and point to xml file on hard
drive, problem goes anyway. I'm initializing Data property with xml string
that matches file exactly. Seems to be problem with binding because if I
remove bindings, tree works both ways. I'm binding on server like so...
TreeNodeBinding bind = new TreeNodeBinding();
bind.DataMember =...
|
by: msnews.microsoft.com |
last post by:
Our IT team relocated our application servers yesterday. They had to take
one machine out of the cluster because it would prompt users for credentials
if accessed using the IP address, which I guess is what happens when it is
accessed through the firewall. However, it works as expected when I use the
machine name in place of the IP address.
To summarize, the application servers were moved to a new hosting site and
one machine is...
|
by: slavisa |
last post by:
Im having trouble with updating my 1 table with the information from another!
I have a table with 6 fields.
Code(pk), Name, Title, Address, State, city, zip
the table is called Info.
Now i have a excel file which i imported it in the access db as a table called newinfo
| |
by: svsenthilkumar |
last post by:
Hai,
I got an javascript error when using ajax in mozilla browser, anyone help me why the error is coming, meaning for this error and how can i rectify this error.
Error: " nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: (here url)
|
by: yuva17raj |
last post by:
hi
i am trying to update my sql table data with the csv/excel file data
my sql table is as follows
test test1
23 usd
25 ero
34 test
and my csv file has
|
by: canabatz |
last post by:
im trying to update my results and i get error:
this is the code:
this is the select :
SELECT * FROM `bidding_details` where `bid_id`='$bid_id' and `sortbid` = '1' order by bid_price asc limit 0, 50
this is the update:"
update bidding_details set sortbid = '0', rank = '0' where `bid_id`='$bid_id' and sortbid = '1' and `bid_price`='$remove_bid' LIMIT 0, 50
|
by: giovannino |
last post by:
Dear all,
I did a query which update a sequence number (column NR_SEQUENZA) in a table using a nice code (from Trevor !).
1) Given that I'm not a programmer I can't understand why numbering doesn't start always, running more times the update query, from the same starting parameter assigned (1000000000).
It seems to me that it takes memory last number calculated and running prox update it starts from last table row updated. I need...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |