Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I've got an Access database and in there I have macro which outputs a query to a csv file ready for import into another system we are using. As part of this macro it makes a backup of the base table and then later changes the contents of the original table. When it does the backup, I get a dialog box asking me to confirm that I want to overwrite the old backup table.

I don't want this dialog box coming up because the macro will be run by an end user eventually. I'm using

DoCmd.CopyObject to do this. Is there a way I can supress this dialog box?

Thanks

Kieran

share|improve this question
    
Have you tried DoCmd.SetWarnings False? –  Constablebrew Aug 26 '13 at 6:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.