A
a
I have 2 form (form and subform) How can I remove filter sort from (sub
form) by using command button in main form
thank you
form) by using command button in main form
thank you
Allen Browne said:Try:
Me.[Sub1].Form.FilterOn = False
replacing Sub1 with the name of your subform control.
That should work unless you have the main form filtered as well. If you do
Access gets confused. Details:
Incorrect filtering of forms and reports
at:
http://allenbrowne.com/bug-02.html
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
a said:I have 2 form (form and subform) How can I remove filter sort from (sub
form) by using command button in main form
a said:dear allen browne
Me.[Sub1].Form.FilterOn = False
doesn't do any thing (no thing happens)
any more help
Allen Browne said:Try:
Me.[Sub1].Form.FilterOn = False
replacing Sub1 with the name of your subform control.
That should work unless you have the main form filtered as well. If you
do Access gets confused. Details:
Incorrect filtering of forms and reports
at:
http://allenbrowne.com/bug-02.html
a said:I have 2 form (form and subform) How can I remove filter sort from (sub
form) by using command button in main form