M
MSD
I'd like a user to be able to change the order of items in a list box by
pressing a command button. So far, I have made it possible to click on a
command button and sort the list in ascending order. I'd like to be able to
click the same button again and have the list sorted in descending order.
I am using a query as the row source for the list box to sort the items. I
wonder if I could pass the "ascending" or "descending" request to my query,
so that I could alternate order each time the command button is pressed.
Anyone know how to do this?
Thanks very much,
Emma
pressing a command button. So far, I have made it possible to click on a
command button and sort the list in ascending order. I'd like to be able to
click the same button again and have the list sorted in descending order.
I am using a query as the row source for the list box to sort the items. I
wonder if I could pass the "ascending" or "descending" request to my query,
so that I could alternate order each time the command button is pressed.
Anyone know how to do this?
Thanks very much,
Emma