Solved

msaccess publish  accde vba command

Posted on 2012-03-20
2
494 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

627 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