473,382 Members | 1,447 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,382 software developers and data experts.

Field Cannot be updated!

I have seen this "field cannot be updated" error on several FAQ's, and
but none of the solutions seem to match my situation. I have a form
based on a query. When I try to add a new record, this error comes up
(twice). After I "OK" it (twice) I can add my record. However, If I
add the new records directly to the queries Dynaset there are no
problems or errors. I have 2 subforms on the form, but the problem
persists when I delete them. Likewise, I have some calculated fields
on the form (sub-total, grand total, etc..) but the problem persists
when those are deleted as well. Both of the fields that cause the
problem are comboboxes, but the problem persists when I convert them
back to Text Boxes. Help me Obi Wan Kanobi, you are my only hope.

Ben Schminke
Nov 12 '05 #1
3 17941
Ben, you have done some good trouble shooting here.

The next step might be to create a new form using the same query as your
main form does. Leave out the subforms and calculated controls; include just
the 2 combos, and any required fields. Does this form have the same problem?
Since you are able to add records directly to the query, this should work.

Now begin adding things from the existing form, testing until you hit the
problem.

If the new form does fail immediately, you could begin looking at the query
statement to see where these two fields come from (related table? Lookup
table?) and consider alternatives. Or, if the query/table actually displays
the combo boxes, you might consider opening the table in design view, and
changing the DisplayControl property to Text Box so you can really see
what's going on.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"Ben Schminke" <ea*******@frontiernet.net> wrote in message
news:cd**************************@posting.google.c om...
I have seen this "field cannot be updated" error on several FAQ's, and
but none of the solutions seem to match my situation. I have a form
based on a query. When I try to add a new record, this error comes up
(twice). After I "OK" it (twice) I can add my record. However, If I
add the new records directly to the queries Dynaset there are no
problems or errors. I have 2 subforms on the form, but the problem
persists when I delete them. Likewise, I have some calculated fields
on the form (sub-total, grand total, etc..) but the problem persists
when those are deleted as well. Both of the fields that cause the
problem are comboboxes, but the problem persists when I convert them
back to Text Boxes. Help me Obi Wan Kanobi, you are my only hope.

Ben Schminke

Nov 12 '05 #2
Post your code/query SQL, young Jedi! If your field is a summary,
then you can't update it... is that calculated field bound to a
text/numeric field?
Nov 12 '05 #3
< "field cannot be updated"

I recently had the same error with a fom. The form's recordsource is a query
that contains several caluculated fields. The form ran until I added a format
for either date or currency field in the query. Then I got the "field cannot
be updated"
error. As you pointed out, the query still ran. Changing the query did not
help.
Finally, I deleted and recreated the query and all is well. I don't recall if
I added
the formatting back to the query or put in in the form.

Steve Mappen
Nov 12 '05 #4

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

Similar topics

2
by: Mike Minor | last post by:
I have a request from a client to play a sound when a specific <input type=text> field has been updated with new data from a server side script. They have not specified the sound ( yet ), so I'm...
4
by: vulcaned | last post by:
Hi All, Hopefully I explain this well........ In Access97 I have a form which has a tab control on it, each tab has a sub-form which is bound to its appropriate table(I'll call them 'Detail'...
1
by: teddysnips | last post by:
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...
2
by: sandpking | last post by:
I have the query below (as a row source)update a list box with all the employees of a supervisor. The problem is it doesn't automatically update when a the referened field on the form (supervisor)...
3
by: Coll | last post by:
I inherited a database. On one of the forms, a bunch of fields on the form are to be updated with data from a combo box containing many columns after one particular field is updated. I'm receiving...
11
by: sajitk | last post by:
I am new to access and i am trying to build a database for enntering Subscription details of a particular journal. Wat I want is that FirstName field on the form should not be left blank. If the user...
5
by: bkberg05 | last post by:
Hi - I have a combo box field on a form. The field is required (can't be left blank). Occassionally a user will come to the field and the combo box will not contain the desired record. So I added...
8
by: matt753 | last post by:
I'm trying to find which event fires after any of the textboxes are updated on my form. I have an average field, and any time a user changes any one of the 20 textboxes I want it to update. Or, is...
1
by: Edy Chandra | last post by:
Hi, I'm doing a simple application for store. In my subform when I want to entry the record MS Acces appear msg "Field cannot be update". I've try to solve it with the possible causes (as show on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.