473,785 Members | 2,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_tblPrinterJ obs.fldPrinterO rderID,
dbo_tblPrinterO rder.fldStatus, dbo_tblPrinterO rder.fldDateReq uired,
dbo_tblPrinterO rder.fldDateRec eived, dbo_tblPrinterJ obs.fldJobID,
dbo_tblJobs.fld DocumentNumber, dbo_tblJobs.fld Revision,
dbo_tblJobs.fld DateCreated, dbo_tblJobs.fld DateClosed,
dbo_tblJobs.fld NumPages, dbo_tblJobs.fld SingleFoldouts,
dbo_tblJobs.fld DoubleFoldouts
FROM dbo_tblPrinter INNER JOIN (dbo_tblJobs INNER JOIN
(dbo_tblPrinter Order INNER JOIN dbo_tblPrinterJ obs ON
dbo_tblPrinterO rder.fldPrinter OrderID =
dbo_tblPrinterJ obs.fldPrinterO rderID) ON dbo_tblJobs.fld JobID =
dbo_tblPrinterJ obs.fldJobID) ON dbo_tblPrinter. fldPrinterID =
dbo_tblPrinterO rder.fldPrinter ID
WHERE (((dbo_tblPrint erOrder.fldStat us)<>4))
ORDER BY dbo_tblPrinterJ obs.fldPrinterO rderID,
dbo_tblPrinterJ obs.fldJobID;

Nov 13 '05 #1
1 2803
te********@hotm ail.com wrote in message news:<11******* *************** @o13g2000cwo.go oglegroups.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
1621
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 advance <%@language="VBScript"%> <% option explicit %> <% response.buffer = True %>
0
3046
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
1799
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 coming from. Can you help? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD>
14
10145
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 I should give back to the community by posting our findings. Thanks you all for all your help till now by posting problems and their solutions. ~Abhijit
2
5734
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 "C:\AgencySystemVer1.32.mdb" ( ,,,,,,,,,,,,,,,,,,,) select (,,,,,,,,,,,,,,,,,,,) from tbl_Volunteer_Donor in "C:\SapulpaCommunity Care NEW.mdb"; I am trying to copy the exact same fields (but not all the available
669
26220
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 paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
2
2964
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 on a text field for a while because originally the field was only being updated nightly and I could repopulate/rebuild the index nightly. Now I will be allowing users to Update the field in real-time. I am using a simple Update SQL statement to...
2
19492
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 will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
2897
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 will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10153
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 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...
1
10093
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,...
0
9952
tracyyun
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...
0
8976
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, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
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 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...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.