CommandBars Import/Export #478
Replies: 3 comments 4 replies
-
It appears that command bars would be stored in a system table http://access.mvps.org/access/general/gen0035.htm I haven't tried this myself, but let me know how this works! If this works successfully, I can probably add that table name as one to export by default (if it exists) so that it will work a little more "out-of-the-box" for most users without even having to know about the system table. |
Beta Was this translation helpful? Give feedback.
-
Just to point out Dale Fye, an Access MVP wrote an add-in that helps with managing commandbars which may also be useful. A possible path would be to take the export from the tool, and allow it to be imported. EDIT: I think I may have been hasty - I saw import button and assumed import/export but it's more for importing from an existing database, rather than importing from a text file. However it does have ability to script out the commandbars, which may be sufficient since that can then become a part of the project's VBA modules and be under the source code control this way. |
Beta Was this translation helpful? Give feedback.
-
I am attaching a module to export to version control and import to new command bars. CommandBarExport is run after export and CommandBarImport is run after build from source. The command bars exported are simple right click menus for forms and reports on a FE when executed by runtime. Only Type, ID, and BeginGroup are handled. The file is stored in the base of the version control folder. It should be relatively simple to extend for more complex command bars. |
Beta Was this translation helpful? Give feedback.
-
I have an MS Access 2010 database UI that has CommandBars. When I do an "Export Source Files", the CommandBars are not exported.
I tried searching this repo's Issues but didn't see this addressed anywhere. Is it possible to do this or is it a limitation of MS Access ?
Beta Was this translation helpful? Give feedback.
All reactions