Hi All.
As the thread title says, after compiled to a accde file, I'm getting this error on certain tabs in the navigation pane.
Background:
Using a Navigation pane system (left and top tabs).
On three of the Top Panes tab for opening certain forms, when clicked - I get this error. Immediately - before any target forms open.
Non of the tabs have have any code in events, only the form name to be opened in the Data -> Navigation Target Name.
One of the three forms have an On Load event, the two others have not (in the meaning of code in On Load, On Open, On Click, On Activate, On Got Focus etc)
What I have done:
Compiled the VBA until no errors, including C & R after each error (found five errors), still no success
Checked all References in tools, none where marked 'missing' or other errors.
Created a new blank accdb and imported all object and re-established all modules in references, still no success...
I'm aware of the July 2022 bug, but I expect this have been solved, and the company I'm working in is very 'on top' of system and programs to be updated.
And I've seen that one solution could be to move all code behind the form to standard modules, call the by name from form event property - I really hope to avoid that because one of the form with this problem are loaded with controls and code behind them...
I've tried to search around to find other reasons for why this error occur and solutions, with no luck (except for the solutions mentioned above). Is there anyone here who have found any reasons for this behavior and workarounds?
I would gladly share my program for you to check, but it's connected to an sql server backend with restricted access (the reason for accde...), so that is difficult to do.
Best regards,
Geirr.
As the thread title says, after compiled to a accde file, I'm getting this error on certain tabs in the navigation pane.
Background:
Using a Navigation pane system (left and top tabs).
On three of the Top Panes tab for opening certain forms, when clicked - I get this error. Immediately - before any target forms open.
Non of the tabs have have any code in events, only the form name to be opened in the Data -> Navigation Target Name.
One of the three forms have an On Load event, the two others have not (in the meaning of code in On Load, On Open, On Click, On Activate, On Got Focus etc)
What I have done:
Compiled the VBA until no errors, including C & R after each error (found five errors), still no success
Checked all References in tools, none where marked 'missing' or other errors.
Created a new blank accdb and imported all object and re-established all modules in references, still no success...
I'm aware of the July 2022 bug, but I expect this have been solved, and the company I'm working in is very 'on top' of system and programs to be updated.
And I've seen that one solution could be to move all code behind the form to standard modules, call the by name from form event property - I really hope to avoid that because one of the form with this problem are loaded with controls and code behind them...
I've tried to search around to find other reasons for why this error occur and solutions, with no luck (except for the solutions mentioned above). Is there anyone here who have found any reasons for this behavior and workarounds?
I would gladly share my program for you to check, but it's connected to an sql server backend with restricted access (the reason for accde...), so that is difficult to do.
Best regards,
Geirr.