I have an access report which fetches data from an underlying access query. The problem I am having is that I want to be able to allow the user the ability to sort the data based on 3 separate fields. How can I give the user this facility that he can choose if he wants to sort the incoming data based on a field A, B or C?
Kindly help.
Thanks!
The following should help.
First, use openArgs parameter to pass user’s selected OrderBy field:
Then, use passed value for ordering on report Load:
For Access 2007+:
For Access 2003:
The outcome is the same: report will be [re]sorted based on the passed parameters.
Hope this helps.