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
 
Top