Running Queries from a Form

  • Thread starter Thread starter John
  • Start date Start date
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
 
Insert the following command into the OnClick event, the
following command:

DoCmd.OpenQuery "YourQueryName", acViewNormal, acEdit

Hope this helps!

Kevin
 
Back
Top