Refreshing a query

  • Thread starter Thread starter Phil Hibbs
  • Start date Start date
P

Phil Hibbs

How do you refresh a query? DoCmd.OpenQuery just opens it, I want to refresh it. The query has a where clause that refers to a box on a form, and whenI change the value in the form I want to refresh the query results. The DoCmd.Requery command seems to want a control and not a query.

Phil.
 
How do you refresh a query? DoCmd.OpenQuery just opens it, I want to refresh it. The query has a where clause that refers to a box on a form, and whenI change the value in the form I want to refresh the query results. The DoCmd.Requery command seems to want a control and not a query.

Phil.

Me.requery, Phil.
 
Back
Top