M
Michael
I would like to run the "Compact and Repair Database"
command by clicking a command button on a form. I am using
MS Access 2000.
The "DoCmd.RunCommand acCmdCompactDatabase" cannot work
while running a VB code or macro. Also, I can't find the
right parameters to use with "DoCmd.DoMenuItem" for that
command.
I already created a custom toolbar with this command. But
this is the top menu. I would like to have it also in the
main menu, which is a form.
Can it be done?
Thanks,
Michael
command by clicking a command button on a form. I am using
MS Access 2000.
The "DoCmd.RunCommand acCmdCompactDatabase" cannot work
while running a VB code or macro. Also, I can't find the
right parameters to use with "DoCmd.DoMenuItem" for that
command.
I already created a custom toolbar with this command. But
this is the top menu. I would like to have it also in the
main menu, which is a form.
Can it be done?
Thanks,
Michael