473,509 Members | 3,009 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form no longer allows editing

prn
254 Recognized Expert Contributor
Hi all,

Among other things, I maintain an Access application that I have inherited from about a half-dozen previous maintainers. :(

I got a call from one of the users to the effect that one of the forms no longer allows editing of data. That is, you can click in the box, but can't change the data that appears in them. The cursor goes where you click, it sits there and blinks, but when you try to type or delete, nothing happens.

The data resides on a SQL Server with the Access piece being a front-end containing forms and queries with links to the tables. I pulled down the Linked-Table Manager and refreshed all the linked tables. That didn't help.

I checked the properties of the affected textboxes. they are Enabled and NOT Locked. Another idea that came up in my web search was that some queries are not updatable. It struck me that if something changed without my realizing it, the element that changed could as easily be the query as the form, so I checked that. I got an old version of the Access database (front-end) and checked the corresponding form on that. The fields were editable. I then copied the SQL from the record-source query for the table from both versions of the database and ran them through WinMerge (a diff utility), which reported that they are identical.

I also used Tools|Analyze|Documenter to create descriptions of the form from the old and new versions. I selected everything in the options and exported them both to .txt files and then compared them with WinMerge. Aside from one small wording change that I had made several months ago the only other differences were a number of places where some previous maintainer had changed the case of several variables from lower to upper. Otherwise nothing.

I've about run out of ideas. Do any of you folks have any clues for me? What else might cause this kind of behavior?

Thanks,
Paul
Jun 4 '09 #1
10 2081
NeoPa
32,557 Recognized Expert Moderator MVP
  1. I would get the underlying query (or SQL whatever) and open it directly. Then test that it is still updatable.
  2. Check through each property of the form and the relevant controls to see if anything unexpected has caused the issue.
That's all I can think of for now, as that (#1) also covers any potential problem updating data of the SQL Server from Access (which I have experienced recently with large updates and a SQL Server running short of resources).

Good luck!
Jun 4 '09 #2
prn
254 Recognized Expert Contributor
Hi NeoPa,

Thanks for your advice. I eventually just rolled back by one version, which was enough, and then redid the latest change. I still have no clue what went wrong with that form or why, and that bothers me, but after wasting hours trying to make sense of it, I figured that it was time to move on.

Thanks a lot,
Paul
Jun 5 '09 #3
NeoPa
32,557 Recognized Expert Moderator MVP
Clearly a man of wisdom Paul :)

When to let go and try a different route is often a hard thing to see.
Jun 5 '09 #4
missinglinq
3,532 Recognized Expert Specialist
And you thought that your instructors were just being picky when they said "Back up, back up, back up!"

;0)>
Jun 5 '09 #5
prn
254 Recognized Expert Contributor
And don't forget the importance of change logs. I'd really be up the creek if I couldn't remember what change I'd last made.

Paul
Jun 5 '09 #6
missinglinq
3,532 Recognized Expert Specialist
Excellent point! I love it when an OP says "I made a few changes and now my form doesn't work." and when you ask "What changes?" they go, "Oh, I'm not really sure!"

You want to quote Bill Cosby: "Was your head not attached to your body that day?"

;0)>
Jun 6 '09 #7
prn
254 Recognized Expert Contributor
In this case, the change made between the (then) latest and penultimate versions had nothing to do with this form. It was off in an entirely different module that is not used in this form. The application in question contains a bit over 200 forms (including subforms) and 1250 queries (some, i don't know how many, are actually obsolete and unused).

Some of the "features" of the database are probably used no more often than once in two or three years. In fact, last Friday (today is Monday) I spent pretty much the entire day recovering data that was dropped by a macro. The macro was needed in the first place because some previous maintainer had denormalized data and then he or an intermediate maintainer had needed to change some of that denormalized data, so he (as far as I know all of them have been "he"s) made up a macro to remove the relevant data from a table, change it as well as the corresponding data in the table where it should have been in the first place, and then copy the changed data back into the table it had been removed from. The problem was that someone (possibly one of those two or possibly someone else) had added another, required, field to that table in the meantime and now the query that reinserted the data back into the table it had been deleted from failed. The temporary table then got dropped and the data was gone, causing me to spend hours trying to recover it as well as trying to figure out what happened to it. Needless to say, it took a lot longer to diagnose this comedy of errors than to describe it here. :(

Paul
Jun 8 '09 #8
NeoPa
32,557 Recognized Expert Moderator MVP
Don't you just love it when you're passed a crock to look after.

"Here, just take this and make a small amendment to it to produce a report differently.

Oh, and by the way, it's an abortion that was created by the lobotomised offspring of a lower-level demon. Enjoy!
"
Jun 8 '09 #9
prn
254 Recognized Expert Contributor
Oh, that isn't the half of it!

This one has truly made the rounds. Even just the "interesting" variation in naming conventions gives life such spice. Some examples (all query names):
  • Site Enrollment report -- with spaces between words
  • ServiceAgreementsPrinted -- using Pascal case
  • Site_activation_query -- with underscores separating words
  • Adm letter_UPDATE_query -- with one space and two underscores.
  • qBookOrder -- with a 'q' prefix and Pascal case
  • q_BookOrder_form -- with a 'q' prefix and mixed Pascal case and underscore
  • qryEmailCount -- with a 'qry' prefix and Pascal case
  • qry_Bookstore_Order_XLS -- with a 'qry' prefix and underscores
  • QUpdateOrderQty -- here the 'q' prefix is capitalized
  • QtEMPUPDATE -- Looks like the CapsLock was on and so cases reversed
  • frmSiteBrowseDrop -- with a prefix that makes it look like a form rather than a query.
Talk about anti-mnemonic naming! It drives me nuts just trying to remember where to look for a query even when I remember the "content" part of its name.

Paul
Jun 8 '09 #10
NeoPa
32,557 Recognized Expert Moderator MVP
I had one that suffered from similar symptoms. Less extreme than those if I'm honest. Doesn't really help.
Jun 8 '09 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

72
5137
by: Stephen Poley | last post by:
I have quite often (as have probably many of you) come across HTML forms with irritating bits of Javascript attached. The last straw on this particular camel's back was a large form I was asked to...
8
4281
by: Sergio Otoya | last post by:
Hi all, I need to add an input hidden field to an existing form (post). I have tried a couple things like adding the '<INPUT type=hidden name=idSelectedURL value=http://server/documents>' to...
2
7581
by: Jason G | last post by:
** Any assistance you can provide would be greatly appreciated ** I have a main form with multiple sub-forms. On the main form, I have a checkbox that corresponds with each sub-form, and this...
6
2117
by: allyn44 | last post by:
HI--what I am trying to do is 2 things: 1. Open a form in either data entry mode or edit mode depending on what task the user is performing 2. Cancel events tied to fields on the form if I am in...
11
3670
by: TD | last post by:
I'm looking for input into my decision to switch to ADO and unbound forms. I get tired of having to block all of the ways a user can unknowingly save a record, like using the PageUp, PageDown keys...
17
11683
by: radio1 | last post by:
Configuration: Access 2002 and SQL Server 2000 using a .ADP Project. I would VERY MUCH appreciate anyone's input into this problem I'm having. I have a form in Access that does not permit...
3
2227
by: Robert McEuen | last post by:
Using A2K3, Windows XP I'm handling a many-to-many relationship with a linking table structure as follows (irrelevant fields omitted): tblIssue PK_IssueID (autonumber, primary key) IssueName...
4
2258
by: Martin Bentler | last post by:
I have a form that is locked for editing, adding or deleting. Through the use of a command button I open another form, that allows editing, plus allows the user to other areas of the database,...
3
2812
tdw
by: tdw | last post by:
Hi all, I am trying to create an Access database for use purely as a more efficient way to enter fields into a Mail Merge for a friend who is an attorney. Currently, I am using Word's mail...
0
7234
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
7136
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
7344
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
7412
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
7505
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...
0
5652
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 project—planning, coding, testing,...
0
4730
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...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
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...

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.