From: Anita on
I have an existing form associated to a table. In the form I would like to
associate a button to a query instead of the whole table. Can this be done?
Thanks, Anita
From: PieterLinden via AccessMonster.com on
Anita wrote:
>I have an existing form associated to a table. In the form I would like to
>associate a button to a query instead of the whole table. Can this be done?
>Thanks, Anita

You want the query to open when you click the button? Then use this in the
button's click event.
DoCmd.OpenQuery "queryname"

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/201005/1