Cotswold
Well-known member
- Local time
- Today, 05:50
- Joined
- Dec 31, 2020
- Messages
- 833
Just wondering if anyone knows more detail on Error 2046. Its official explanation is:
2046 : The command or action '|1' isn't available now.@* You may be in a read-only database,
or an unconverted database from an earlier version of Microsoft Access.
I have a program developed in Access2019 and I also have a Runtime for 2010. So I opened the A2019 version in A2010, did compact & repair,
then created an .accde. The error 2046 appears in the function that checks the BE Data, which will relink if necessary. The FE & BE are local, no network
When I open it in Runtime 2010 it pops Error 2046 which is trapped in my error handler. Clicking past that, the program runs normally and without error.
As the error refers slightly to an earlier version, I uninstalled the RunTime2010 from the target PC and installed Runtime2019 (365). Then created the .accde in A2019. When it runs in RunTime the same error shows.
Needless to say the error has never appeared during development. Neither does it if the .accde runs in the full copy of Access2019. Same in Access2010 no problem. So only in RunTime on both. I would prefer it to run in Runtime2010 but not that important.
2046 : The command or action '|1' isn't available now.@* You may be in a read-only database,
or an unconverted database from an earlier version of Microsoft Access.
I have a program developed in Access2019 and I also have a Runtime for 2010. So I opened the A2019 version in A2010, did compact & repair,
then created an .accde. The error 2046 appears in the function that checks the BE Data, which will relink if necessary. The FE & BE are local, no network
When I open it in Runtime 2010 it pops Error 2046 which is trapped in my error handler. Clicking past that, the program runs normally and without error.
As the error refers slightly to an earlier version, I uninstalled the RunTime2010 from the target PC and installed Runtime2019 (365). Then created the .accde in A2019. When it runs in RunTime the same error shows.
Needless to say the error has never appeared during development. Neither does it if the .accde runs in the full copy of Access2019. Same in Access2010 no problem. So only in RunTime on both. I would prefer it to run in Runtime2010 but not that important.