Hi guys!
I’ve got a little task. I have ListBox with ControlSource = myQuery. At some point I need to change OrderBy property of myQuery, in other words I want the ListBox to be sorted by another column just by pressing a button. Is there a nice way of doing that by, let’s say, VBA.
So, the whole thing would look like:
??? <changing OrderBy property of the myQuery> ???
Me![ListBox].Requery
Thank you
I’ve got a little task. I have ListBox with ControlSource = myQuery. At some point I need to change OrderBy property of myQuery, in other words I want the ListBox to be sorted by another column just by pressing a button. Is there a nice way of doing that by, let’s say, VBA.
So, the whole thing would look like:
??? <changing OrderBy property of the myQuery> ???
Me![ListBox].Requery
Thank you