473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Write Conflict in Query

Hi,

I have a query that I have been using as a record source for a form
with no problems. I just created a new "addnew" form, and added 20
records to the table with this form. The problem I now have is I
cannot modify data on these new records using my query.

The query's sql is: SELECT tblSpaceUse.* FROM tblSpaceUse;
The error I get is:
"Write Conflict -
The record has been changed by another user since you started editing
it. If you save the record, you will overwrite the changes the other
user made."

I thought maybe the "*" in the sql had something to do with it, so I
listed each field individually instead.
(SELECT tblSpaceUse.RoomID, tblSpaceUse.RoomLocation,
tblSpaceUse.FloorNumber
FROM tblSpaceUse;)
However, I get inconsistent results. Sometimes I can change the data,
sometimes I still get Write Conflict. But it's weird: one time, I
changed a value from 2 to 3, 3 to 4, 4 to 5, and it was fine, but then
I changed it to 6, and I got the write conflict. But when I tried the
same sequence again, it behaved differently. (all these values are
valid.)

I am able to change older records with either statement!!

I don't know if it's how I'm adding, or something on my table. I
compared new records with old, and I can't see anything that's
different.

Any suggestions?

Thanks in advance.
ps - is there a way to get notified when I have a response on this
thread?

Sep 21 '06 #1
1 2425

lorirobn wrote:
Hi,

I have a query that I have been using as a record source for a form
with no problems. I just created a new "addnew" form, and added 20
records to the table with this form. The problem I now have is I
cannot modify data on these new records using my query.

The query's sql is: SELECT tblSpaceUse.* FROM tblSpaceUse;
The error I get is:
"Write Conflict -
The record has been changed by another user since you started editing
it. If you save the record, you will overwrite the changes the other
user made."

I thought maybe the "*" in the sql had something to do with it, so I
listed each field individually instead.
(SELECT tblSpaceUse.RoomID, tblSpaceUse.RoomLocation,
tblSpaceUse.FloorNumber
FROM tblSpaceUse;)
However, I get inconsistent results. Sometimes I can change the data,
sometimes I still get Write Conflict. But it's weird: one time, I
changed a value from 2 to 3, 3 to 4, 4 to 5, and it was fine, but then
I changed it to 6, and I got the write conflict. But when I tried the
same sequence again, it behaved differently. (all these values are
valid.)

I am able to change older records with either statement!!

I don't know if it's how I'm adding, or something on my table. I
compared new records with old, and I can't see anything that's
different.

Any suggestions?
Why not simply use the table itself as the recordsource for your forms?
"SELECT * FROM <tablename>" without any limiting criteria (e.g. a
"where" clause) is equivalent to simply using the table itself.
Thanks in advance.
ps - is there a way to get notified when I have a response on this
thread?
Don't know about that one. Perhaps there is a setting in your
newsreader software.

Bruce

Sep 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Max | last post by:
Hi, I have SqlServer 2000 as back end and Access 2000 as front-end. All tables from Sqlserver are linked to Access 2000. I am having write conflict problem with one of my form which is bound to...
2
by: RC | last post by:
I am getting the following error message. "Write Conflict this record has been changed by another user since you started edting it. If you save the record, you will overwrite the changes...." I...
1
by: Eric E | last post by:
Hi all, I am using an Access 2000 client linked to a Postgresql 7.4 server via ODBC. I have a stored proc on the server that inserts rows into a table.particular table, accomplished via an...
1
by: shumaker | last post by:
I've loked over older messages on this, but haven't found a solution. I have a datasheet of records, and each record has a subform that can be viewed with the expand '+' symbol. The subform...
5
by: Simon | last post by:
Dear reader, I have two Forms they are both working with dada from the same tables. By typing in some changes in Form-B the changes are also visible in Form-A. There is no record lock...
1
by: Kuriandungu | last post by:
Hi guys I've read the posts on Write conflict entered in this forum (along with some from kbAlertz and microsoft) and i have tried all the solutions without success. let me give you some background....
4
by: crystal | last post by:
I've checked the threads but haven't been able to come up with a solution to my issue. Help...... I have a simple form based on a table. Within the form is a subform that is also, through a Q,...
3
by: Bidhan | last post by:
Hi, I have a table (Stock) important field are partsNo., des, qty, pPrice, sPrice, qtyBuy. I make a query based on the table and has one more field SAB(qty+qtyBuy). I made a form based on the query....
11
by: Stan | last post by:
I am using MS Office Access 2003 (11.5614). I have been running the following query with good results. The query lets me enter the month period and returns the SUM of the age fields. SELECT ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
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...
0
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.