hi,
i have a subform with fields like bookname, publisher, category etc.
i have comboboxes within the same subform which selects values; and a command button which is supposed to filter records corresponding to the combobox values.
i have a code like -
Me.Child2.Form.Filter = "[bookname]=" & [booknamecombo]
Me.Child2.Form.FilterOn = True
this obviously doesnt work as it filters from a command button in main form not subform. i want a code which works from within the subform. any ideas?