I am trying to use buttons to filter a subform.
The subform [frmIndicatorDetailsSub] is linked to the main form [frmClients] by the field ClientID. I want to use buttons to filter the field QuarterID on the subform. I already have an unbound field on the main form which updates based on which button is clicked.
I tried to follow the directions for doing this on a post on the Access Web , but am still stumped. I have limited understanding of code, so I couldn’t completely follow what they were suggesting, and tried to accomplish their alternate suggestion of using a predefined query (I’m assuming this means build the query in the “query” tab of the Database window).
I successfully created a query [qryChooseQuarter] which does bring up the data, correctly filtered, when [frmClients] is open. But all my efforts to follow their syntax to get the button to apply the query to the subform have failed. I may be missing something, or maybe it is because of the version of Access I am working in (I found that link based on a question on this board from someone using 2000). I’m not wedded to their syntax. Anything that will work will make me happy.
Hoping to get over this hump! Thank you in advance,
-cynthia