Milewskp
asked on
How to close Filter by Form view using code
When you click on the Filter by Form toolbar button, the active form changes to filter-by-form view. If you then click 'Close' on the Filter/Sort toolbar, the form reverts to normal view.
What is the code equivalent of clicking 'Close' on the Filter/Sort toolbar?
I've tried
DoCmd.RunCommand acCmdClose
but I get
Error: No current record.
What is the code equivalent of clicking 'Close' on the Filter/Sort toolbar?
I've tried
DoCmd.RunCommand acCmdClose
but I get
Error: No current record.
DoCmd.RunCommand acCmdRemoveFilterSort
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator
Vee_Mod
Community Support Moderator
DoCmd.RunCommand acCmdCloseWindow