It strikes me that this should be relatively simple, but I'm just not sure how to go about it.
I have a report that consists of 5 fields, selected in a query. Depending on the user's purpose any one of those fields may be the best way to sort it.
How can I set the report so the user chooses the order it sorts in? I was thinking it would be as simple as a combo box on the form, which triggers some code on the report; but then I couldn't work out how I set a combo to allow me to choose a "field" rather than a "record".
I have a report that consists of 5 fields, selected in a query. Depending on the user's purpose any one of those fields may be the best way to sort it.
How can I set the report so the user chooses the order it sorts in? I was thinking it would be as simple as a combo box on the form, which triggers some code on the report; but then I couldn't work out how I set a combo to allow me to choose a "field" rather than a "record".