automating decompile / recompile in ms-access

北慕城南 提交于 2019-12-25 04:39:14

问题


my front end from time to time is getting larger. i am building new reports and forms.

i know that remou suggests to decompile and compile every so often to make sure nothing is corrupt. can i automate this decompile/ recompile process?


回答1:


What kind of automation do you have in mind?

Edit: If you intend to automate this, don't automate decompile in isolation; include backup and compact with decompile.

You could try something like this as one line in a BAT file, changing the paths to match your version of msaccess.exe and your database file:

"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

Danny Lesandrini discussed other options for decompile and other maintenance type stuff in a Database Journal article: Microsoft Access File Backup and Maintenance Options

I think he mentioned the method I use ... a decompile context menu option in Windows Explorer. You can find more information including a REG file at Getting the Decompile and Compact context menu options



来源:https://stackoverflow.com/questions/3338443/automating-decompile-recompile-in-ms-access

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!