Replies: 7 comments 10 replies
-
So the issue appears to be related to the fact that we have several controls that are declared to be "built-in" but that's not entirely true. This returns But it's a button that opens an Access form. The I've attempted to add a "built-in" control but I get errors if I try to specify the Id (whether 1837 or some other nonexisting numbers and my addition result in |
Beta Was this translation helpful? Give feedback.
-
I also don't know how this toolbar was built. Do you think editing the output file and re-trying the build would solve the problem? |
Beta Was this translation helpful? Give feedback.
-
The test database provided by @ronmcca was very helpful! Thank you! With PR #588, we will be able to handle most of the command bars, with 2 exceptions. There are 2 controls with With the With the So, there are three things I have observed:
This leads us to the following options:
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately, this isn't possible. The If we then ignore the I was OK with building for Access' custom built-in since those were "known quantity" since that was something we can do easily via the old So logically, we have two choices:
With the example of "custom built-in" popup control and help button, I'm inclined to say that they need to be revised as per the first option because there is nothing "built-in" about those two controls. But if others come and report more problems with their "custom built-in" command bars not importing/exporting, then the 2nd option would look better in terms of user-friendliness. |
Beta Was this translation helpful? Give feedback.
-
When the command bar option is released, I would like to see it as optional like exporting and importing table data. That way if I have a problem command bar, It can be imported from a template using the after build function. The template could be stored in the repository to keep the source complete. |
Beta Was this translation helpful? Give feedback.
-
I installed the new VCS 4.1.0 release and found a a bug in the the cbDbCommandBar.SaveImages function. One of my right click menus had file wild card characters "???" in the name which caused an error in SavePicture. The attached code allowed the export to complete. I am changing my command bars to remove those characters. |
Beta Was this translation helpful? Give feedback.
-
These are the lines that created the problem controls
Private Enum paiMsoControlType Private Enum AccessControlsEnum |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tested the new command bar features of export and build from source.
On the 1st test with simple right click menu for forms and reports, it work OK except the resulting db crashed on compact / repair. It work ok on the 2nd attempt compiling before compact/repair.
The 2nd test on a FE with multiple command bars failed to import the command bars, logging an error on the 1st menu. I am uploading a clean db with only those command bars and the exported repository.
MenuTest.zip
MenuTest.accdb.src.zip
Beta Was this translation helpful? Give feedback.
All reactions