I placed this command in the Onclick event field and received the following:
MSAccess cant find the macro 'Docmd.'
the macro(or its macro group) doesn't exist or the macro is new and hasn't been saved.
Note that when you enter the macrogroupname.macro syntax in an argument, you must specify the name of the macro's macro group was last saved under.
???