Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

msaccess publish  accde vba command

Posted on 2012-03-20
2
Medium Priority
?
505 Views
Last Modified: 2012-09-21
I need a command to save and publish a db as an accde via vba.
0
Comment
Question by:akivashapiro
2 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 total points
ID: 37743817
I don't think there is a way to do this via VBA...

The closest thing I could find was:
DoCmd.RunCommand acCmdMakeMDEFile

But the error was that this cannot be run on the open database, through VBA ...

So this sounds similar to Compact/Repair utility, ...where you cannot run code to compact the DB you are currently in...
0
 

Author Closing Comment

by:akivashapiro
ID: 38421552
Apparently this cannot be done in Access above 2003.
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question