Running Queries from a Form

J

John

Is there a way to program a command button on a form that
runs a query based upon one of the fields that is present
on the current form?

Thanks!!!
John
 
K

Kevin

Insert the following command into the OnClick event, the
following command:

DoCmd.OpenQuery "YourQueryName", acViewNormal, acEdit

Hope this helps!

Kevin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top