Forum Discussion
Problem with combobox form controls
- Jan 03, 2024
A fix for this problem is in the works. See this AccessForever article.
I have tried in two different windows 11 / Ms 365 installs, both fully updated, and the 2nd combobox does not work in none of them, while it does in Windows 10.
Data is in the list, but doesn't get to the field while I type in it...
Now I'm completely out of my depth...
Thanks for your interest and collaboration.
- domoni42Jan 08, 2024Copper ContributorMy working theory is:
- the combo box problem was caused by a change introduced some little time ago to 'modern' versions of Office. Unfortunately that change also impacts older versions of Access (how I do not know). By contrast, machines with a most recent version of Office that is 'old' (e.g. Office 2010) never seem to have hit the combo box problem with any versions of Access.
- the Combo box problem has now (I understand, can't confirm) been fixed for the 'modern' versions of Office, but in a way that leaves the problem unfixed for older versions of Access.
- I think you will hit the unfixed problem if you run modern Office and a legacy version of Access. Which unfortunately is my situation.
- I still think that as Microsoft 'broke' old Access (including, but I suspect not only, Access 97) by this change, they should fix it, just as they have (apparently) fixed it for modern Office. - gjwpromo1weissfincomJan 08, 2024Copper Contributor
So you are not a fan of "DOS ain't done till Lotus won't run"? Sorry.
I was going to construct a simple accdb for you, but it appears as if the bug in Win 11 has been fixed. Thank you for contributing to this short lived dilemma.
Gene
- George_HepworthJan 06, 2024Silver Contributor
To be clear, I think we don't need to resort to conspiracies to explain anything Microsoft does or doesn't do.
If you have a sample accdb, running under Access 2016, which exhibits this problem, please share it. I think I can spin up a VM with A2016 on it to check it out.
- gjwpromo1weissfincomJan 06, 2024Copper ContributorIf it is happening on Pro 2016 (extended support end date is 2025), would that change your mind?
Clearly I am more conspiratorial than you regarding Microsoft's motives, and yet I still use it.
Thanks for the suggestion though. I will definitely look into it. - George_HepworthJan 06, 2024Silver Contributor
I don't think I said that at all. What I DID say is that Access97 is long out of support. That's not the same as saying Microsoft doesn't care about all of its users. Microsoft has made a lot of regrettable moves over the years, to be sure. Not providing updates to a version of Access now more 26 years old is not one of them, IMO.
That said, the solution for someone who does want to continue to use that software might well be to create a Class to replace some or all of the form and control Class events to provide those features.
You could add "TOP 100" to a SELECT statement in the query which provides records to the combo box to limit the number of records returned, although I'm unsure if that is a universally appropriate cut-off point.
I'm wrapping up editing on the video from Kent Gorrell's presentation to my User Groups a couple of days ago on that very topic. It primarily focused on interface considerations. However, one of the things that occurred to me during editing was that it is also applicable to data and logic tasks as well. This could be one of those. The video will be available on YouTube in a couple days, if all goes to plan.
If someone needs to maintain Access97 in a production environment, custom code using VBA classes might be an excellent way to help make that happen.
- gjwpromo1weissfincomJan 06, 2024Copper Contributor
George, I think you hit the nail on the head when you point out that Microsoft doesn't care about all of its users.
I am wondering if a solution to the problem would be to have the combobox create an event that on the first letter entered (I don't know how to make it exclusive to the first letter only), utilizes a query as its row source that limits the list of possibilities to 99 using the first letter as starting point. Unless you have more than 100 entries with a particular letter, that should work. Is there a way to create a row source limited to a specified number of entries? Again, I just don't know how to work around the "event" occurring with every letter entered.
- George_HepworthJan 06, 2024Silver ContributorApparently, then, you have a different problem in the Access 97 installation. I mentioned it only because of the recent development in another case.
Given that Access 97 is well past end of support, I'm not sure how much attention it would get. - domoni42Jan 06, 2024Copper Contributor
George_HepworthThanks, but I believe that Access97 only uses ANSI-87 SQL anyway and cannot use ANSI-92 SQL, so this won't help me.
I remain puzzled how a Windows 11 change in 2022 has caused such a problem for Access 97?
Really hoping for a solution!...
- George_HepworthJan 05, 2024Silver ContributorWe discovered late yesterday that there is a second issue that may be involved. If your accdb has ANSI 92 Compatibility turned on, it will cause the combo box autoexpand problem.
If you have ANSI 92 Compatibility turned on, you can decide if you need it or not, and if not, turn it off. That may break other functionality if you have queries dependent on it, so evaluate and decide accordingly. - domoni42Jan 05, 2024Copper Contributor
I have now updated my modern Office (2021) with 2312, but the problem persists with Access 97. The problem is a new one, so it is definitely not something that changed inside Access 97, it is something imposed from outside, so I think a fix is reasonable to expect.
- JF_RuizJan 05, 2024Brass Contributor
Current channel is the latest "normal" version of Office 365 (Click to Run) not the insiders version. And as it is an update for Office, not for Windows, I assume that the problem will persist in Access 97.
- domoni42Jan 05, 2024Copper Contributor
What is this 'current channel' and how does a normal Windows 11 user obtain this fix? Will it work for Access 97 (which is affected by this (newish) bug but is of course way outside any type of support warranty)? Thanks for your response.
- JF_RuizJan 04, 2024Brass Contributor
Once the problem has been solved, I would like to make a final remark, because since I started to suffer from this bug, which in certain contexts has been a serious impediment and has complicated my work a lot, until it has been solved, it has been neither more nor less than a year and a half and honestly it does not seem reasonable to me that Access users are so abandoned....
In any case, thanks to whoever is responsible for the solution. It could have been worse and still not fixed as it happens with other bugs known for years. - JF_RuizJan 04, 2024Brass Contributor
I just received version 2312 on the current channel and it certainly seems to be fixed.
Thanks for the interest in this issue. - George_HepworthJan 03, 2024Silver Contributor
A fix for this problem is in the works. See this AccessForever article.
- gjwpromo1weissfincomJan 03, 2024Copper Contributor
wove5, thank you. I have a similar problem on 11, the combobox did not autofill. After playing with it, I noticed that it did fill if I used a number or the letter a to start. After reading your post I checked and you are right. The combobox does not autofill after the 100th or so entry. I have both 10 and 11 computers and it is only happening on the 11. When I port into my 11 computer from my 10, the combobox does not work on 11, but does work on the 10. It is a Win 11 problem. You have isolated the problem, and Microsoft should be able to fix this. Otherwise, I have to revert to 10.
- JF_RuizDec 01, 2023Brass ContributorOh my Good!!!
I can't belive it....
You don't imagine how many hours I have spend trying to find a solution or, at least, to identify the culprit... Thanks a lot!! - George_HepworthDec 01, 2023Silver Contributor
My apologies. I should have updated this discussion some time ago. My excuse is that finding things on this forum is less than intuitive sometimes.
A fix for this problem is in the works. See this AccessForever article.
- domoni42Dec 01, 2023Copper Contributor
To add my 2c to this, which may help someone with diagnosis. I have just hit the same problem (in the last couple of weeks) using Access 97 (32-bit, of course, and yes I know it is old) on Windows 11 Pro. Combobox autoexpand stopped working, and using the SELECT DISTINCT workaround (suggested above) got it working again but only for the first 100 listed items, after that it fails.
This is a new problem which has suddenly appeared on this machine, it was working fine (under Windows 11) until recently. Still more strangely, the same database still works fine on another Windows 11 machine (also fully updated, as is the first); that is, on that machine the Combobox autoexpansion seems practically unlimited (thousands at any rate).
- mgoldm7352Oct 25, 2023Copper ContributorInteresting, that was what I suspected. My fear is that Microsoft will stop supporting 32-bit Office installations at some point. I will report a bug if I can figure out how, but long term, I would recommend finding substitutes for any 32-bit controls. I would guess you're using some ActiveX controls. I had to replace most of mine last year for reasons unrelated to this particular bug.
- JF_RuizOct 25, 2023Brass Contributor32 bits, as I'm using some 64bits incompatible controls...
- mgoldm7352Oct 25, 2023Copper Contributor
JF_Ruiz are you using a 32-bit or 64-bit installation of Access/Office? I am following this issue on another forum since autoexpand has worked fine for 25 years and this is frustrating a lot of users who upgraded to Windows 11.
I have yet to find a common denominator, but it does appear to be worse on 32-bit installations than 64-bit. For now, I would recommend adding the .Dropdown method in an OnChange event. That is a good enough bandaid for me until there is enough information to report this to Microsoft as a bug.
- JF_RuizOct 25, 2023Brass ContributorNone that I know
After a long time, I realized that the problem is somehow aleatory. Sometimes a combo work and another don't, later is that one the one broken and first one work, Also if you expand the box and move down an up with cursor it select a different record than the one you chose (greyed)...
I'm completely mad with that... - mgoldm7352Oct 24, 2023Copper Contributor
I have the same problem on Windows 11 and Combo box only autoexpanding first 100 rows in query. Has any progress been made on this? Any workaround? wove5
- Gustav_BrockJul 04, 2023Iron Contributor
wove5 Weird.
I've tried here with Windows 11 and the current Office 365 and, say, item #130 was suggested immeditately at the first keystroke.