Requery after TextBox update
Posted on 2013-12-11
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.