I have a main form called MAIN_FORM and a sub form called RESULTS_SUB. The main form will have some check boxes and combo boxes for the user to choose from. Based on the users choices the subform changes after pressing a button. The subform contains all records from two tables.
My question is, how do I modify the subform query to change the criteria to what the user selects.
An example would be that RESULTS_SUB shows 100 employee records. The user only wants to see employees who were hired within the past 30 days, selects that, and hits a command button. The button would change the subform query criteria and then requery the subform to reflect the changes.
Thanks for any help.
My question is, how do I modify the subform query to change the criteria to what the user selects.
An example would be that RESULTS_SUB shows 100 employee records. The user only wants to see employees who were hired within the past 30 days, selects that, and hits a command button. The button would change the subform query criteria and then requery the subform to reflect the changes.
Thanks for any help.