Link to home
Start Free TrialLog in
Avatar of GPSPOW
GPSPOWFlag for United States of America

asked on

Requery after TextBox update

I have created a form in Access 2010.  I have a Text Box that uses a Date Picker, with a Short Date format, to select a date to be used as criteria within a query attached to a ListBox to select records from a table for a Date/Time (Short Date Format) field equal to the TextBox value.

My question is how to get the form to refresh the ListBox query after the Text Box has been updated.

Do I use the OnUpdate property of the text Box with a VBA code and then focus on the List Box?

Please recommend the best process and syntax for this.

thanks

glen
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GPSPOW

ASKER

Works perfectly

Thank you

Glen