Clear All Sorts (1 Viewer)

michaeljryan78

Registered User.
Local time
Yesterday, 21:58
Joined
Feb 2, 2011
Messages
165
I have a Query Form that I want to have the user sort by clicking on the sort button in the access ribbon. Then, I want to programically remove the sort on the OnClose event of the form.

I have tried

Me.frmtester.Form.OrderBy = ""
Me.frmtester.Form.OrderByOn = False

But that didn't work, when I reload the form the filter is still in place. Any Ideas??:D
 

michaeljryan78

Registered User.
Local time
Yesterday, 21:58
Joined
Feb 2, 2011
Messages
165
Figured it out. I set the Order By On Load to "No" and that did the trick.

:)
 

Users who are viewing this thread

Top Bottom