I'm trying to refresh a subform based on data contained in a combo box on the mainfrom. In the OnClick property of the combo box I have code that rebuilds the query used by the subform. Essentially I delete the query used as the RecordSource by the subform and then QueryDef the query back again. Once the query is defined, I then try to refresh the subfrom with the following:
Me![My Subform Name].Form.Requery
Me![My Subform Name].Form.Refresh
The query is reset each and every time, but the subform continues to display the same data that was used in the original query used when the form was initially opened. Thanks in advance for any and all help.
Me![My Subform Name].Form.Requery
Me![My Subform Name].Form.Refresh
The query is reset each and every time, but the subform continues to display the same data that was used in the original query used when the form was initially opened. Thanks in advance for any and all help.