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|D ocumenter 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
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|D ocumenter 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
Comment