Access:make filter in VB

A

ANSWER

Hi,

I want to make button who has on click event VB function "filter by
selection" and "remove filter by selection".

How can I do this
 
V

Van T. Dinh

For "Filter By Selection":

DoCmd.RunCommand acCmdFilterBySelection

For "Remove Filter"

DoCmd.RunCommand acCmdRemoveFilterSort
 
Top