Hi there,
Iwould lkie to filter records in a subform according to entries in two combo boxes on the main form.
My database is an inventory of different Items in different sections. I use the first combo box to select the section which works fine.I succeeded in doing it by typing the following in the following in its AfterUpdate event
DoCmd.ApplyFilter , "SectionID = Forms!Mainform!"
Me!Subform.SetFocus
I would also like to add another combo to select the item so that the records in the subform are filtered according to section and Item
thanking you
Iwould lkie to filter records in a subform according to entries in two combo boxes on the main form.
My database is an inventory of different Items in different sections. I use the first combo box to select the section which works fine.I succeeded in doing it by typing the following in the following in its AfterUpdate event
DoCmd.ApplyFilter , "SectionID = Forms!Mainform!"
Me!Subform.SetFocus
I would also like to add another combo to select the item so that the records in the subform are filtered according to section and Item
thanking you