I have a form with an underlying query with many fields, I am trying to figure out a way to either requery or filter across all the fields as a search tool.
I built a text box to enter the text and have it fire on an after update event.
I am using the following code.
Set qdf = CurrentDb.QueryDefs("qry_ApprovalProfile"
qdf.SQL = strSQL
qdf.Close
me.requery
me.refresh
This should update the query and refresh the form view of the underlying data, but it does not work. where am I going wrong?
thanks
steve
I built a text box to enter the text and have it fire on an after update event.
I am using the following code.
Set qdf = CurrentDb.QueryDefs("qry_ApprovalProfile"
qdf.SQL = strSQL
qdf.Close
me.requery
me.refresh
This should update the query and refresh the form view of the underlying data, but it does not work. where am I going wrong?
thanks
steve