473,418 Members | 2,019 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,418 software developers and data experts.

Error - Field cannot be updated

FRONT END: ACCESS 2000 SP3
BACK END: SQL SERVER 2000

I have been making some modifications to the front end, and a
completely unrelated error has occurred. It is unrelated, because the
changes I have made have been to neither the form, nor the underlying
query, nor to the underlying tables.

I have a subform in Datasheet view based on the SQL below. Yesterday,
when the user tried to add a new record to the subform, he had a dialog
with the error "Field cannot be updated". However, with exactly the
same code and a snapshot of the database, I can add records ad
infinitum here. I have tried adding records to my copy of the raw
query (below) in the Access Query builder and that works fine as well.
It means a visit off-site to check my client's code, which I don't want
to do unless I have some ideas to check.

So, you wonderful genii, does anyone have any hints? I have tried
recreating the database, assuming it's corrupted, by importing all the
objects into a vanilla DB, but that didn't solve it.

Thanks

Edward

SELECT dbo_tblPrinter.fldPrinter, dbo_tblPrinterJobs.fldPrinterOrderID,
dbo_tblPrinterOrder.fldStatus, dbo_tblPrinterOrder.fldDateRequired,
dbo_tblPrinterOrder.fldDateReceived, dbo_tblPrinterJobs.fldJobID,
dbo_tblJobs.fldDocumentNumber, dbo_tblJobs.fldRevision,
dbo_tblJobs.fldDateCreated, dbo_tblJobs.fldDateClosed,
dbo_tblJobs.fldNumPages, dbo_tblJobs.fldSingleFoldouts,
dbo_tblJobs.fldDoubleFoldouts
FROM dbo_tblPrinter INNER JOIN (dbo_tblJobs INNER JOIN
(dbo_tblPrinterOrder INNER JOIN dbo_tblPrinterJobs ON
dbo_tblPrinterOrder.fldPrinterOrderID =
dbo_tblPrinterJobs.fldPrinterOrderID) ON dbo_tblJobs.fldJobID =
dbo_tblPrinterJobs.fldJobID) ON dbo_tblPrinter.fldPrinterID =
dbo_tblPrinterOrder.fldPrinterID
WHERE (((dbo_tblPrinterOrder.fldStatus)<>4))
ORDER BY dbo_tblPrinterJobs.fldPrinterOrderID,
dbo_tblPrinterJobs.fldJobID;

Nov 13 '05 #1
1 2786
te********@hotmail.com wrote in message news:<11**********************@o13g2000cwo.googleg roups.com>...
FRONT END: ACCESS 2000 SP3
BACK END: SQL SERVER 2000

I have been making some modifications to the front end, and a
completely unrelated error has occurred. It is unrelated, because the
changes I have made have been to neither the form, nor the underlying
query, nor to the underlying tables.

[snip]

The deafening silence from you learned guys, and my colleagues'
bafflement meant that I had to pay the client a visit. Guess what?
When I pitched up, it worked as expected. We had a little chat. It
turns out that his experience was slightly different than he had
explained on the phone. He could add 1 record to the subform, but the
error "Field cannot be updated" was shown if he tried to add a second
record. His way round it was to close down the front end, restart the
application, and add another record.

This got me thinking. I happen to know that the network at this site
(by the way, it is the Customer Services Division of a major,
multinational aerospace company employing several thousand people) is
pretty flaky. One task that my client has to do from time to time is
copy relatively large .PDF files across the network. For a 45Mb file
this can take anything up to one hour!

So, I am wondering whether the lock release is being caught in some
bottleneck, and the application cannot then operate on the subform
recordset for a second operation until the lock is released. This is
effected by "brute force" when the user closes down the application
and restarts it.

Does this sound like a plausible scenario?

Yours with fingers crossed.

Edward
--
The reading group's reading group:
http://www.bookgroup.org.uk
--
We are what we repeatedly do. Excellence, then, is not an act, but a
habit - Aristotle

Those heights by great men reached and kept
Were not obtained by sudden flight,
But they, while their companions slept
Were toiling upward in the night
- Longfellow
Nov 13 '05 #2

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

Similar topics

3
by: Steven Scaife | last post by:
Below is my ASP page, I have changed the update to read DRIAL which doesn't exist, shouldnt this throw an error, or if the connection cannot be made shouldnt it throw an error as well thanks in...
0
by: Morten Gulbrandsen | last post by:
mysql> USE company; Database changed mysql> mysql> DROP TABLE IF EXISTS EMPLOYEE; -------------- DROP TABLE IF EXISTS EMPLOYEE -------------- Query OK, 0 rows affected (0.00 sec)
6
by: WindAndWaves | last post by:
Hi Gurus The page below has a strange error. It seems to be working very well, just when you enter 8 or 9 for day, month or year then you get an error. I really have no idea where that is...
14
by: Abhi | last post by:
FYI: This message is for the benefit of MS Access Community. I found that this prblem has been encounterd by many but there is hardly any place where a complete solution is posted. So I thought...
2
by: Bob Alston | last post by:
I am going blind tonight but I cannot figure out the error. I get a syntax error from this sql statement, being run via vba in access 2003 insert into tbl_Volunteer_Donor in...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
2
by: John Kotuby | last post by:
Hi all, Maybe this belongs in the Full Text group but I am writing an ASP.NET application with a SQL Server 2005 backend, so I am posing the question here. I have been using fulltext search...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
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,...
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
Oralloy
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,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
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.