K Ken Jul 10, 2004 #1 I have 3 command buttons on a main form that I want to use to filter records in a subform. Any suggestions???
I have 3 command buttons on a main form that I want to use to filter records in a subform. Any suggestions???
P PC Datasheet Jul 10, 2004 #2 Create three queries to filter the records the way you want. Then enter the following code in the Click event of your commandbuttons: Me!NameOfSubformComtrol.Form.RecordSource = "NameOfQueryFilter" Note: The double quotes are required.
Create three queries to filter the records the way you want. Then enter the following code in the Click event of your commandbuttons: Me!NameOfSubformComtrol.Form.RecordSource = "NameOfQueryFilter" Note: The double quotes are required.