How do I run an append query from a button like northwind sw/brd

C

Clark

I am trying to run an append query the same way Northwind opens forms. The
Northwind switchboard just uses =OpenForms("Suppliers") in the "On Click"
event. It seems like =OpenQuery("QueryName") would work, but it doesn't.
Thanks for the help.
 
O

Ofer

On the on click event select code and in the code write

Docmd.OpenQuery "QueryName"
 
Top