Adding an Update Query to a command button

A

Abby

Is it possible to add an update query to a command button? I have tried to build it, but the "update query" does not show up in my list of queries to choose from. Is there a way to do this?
 
C

chris

In the click event of your button write...

currentdb().execute "myupdatequeryname"

-----Original Message-----
Is it possible to add an update query to a command
button? I have tried to build it, but the "update query"
does not show up in my list of queries to choose from. Is
there a way to do this?
 
Top