I am making some improvements to the very first database I created a few years back, when I knew slightly less about programming than I do now, trying to automate more tasks. The code in my module contains several variables calculated from the table (total amount of fuel used during a specified month by each user, etc.). What I would like to do is find the top 3 users, for instance, I know from earlier code in this module that...
Team1 = 3000 (gallons)
Team 2 = 1500
Team 3 = 800
Team 4 = 2000
...Team 30 = 3500
How can I find the top 3 variables, so that what gets sent out in an e-mail (later in the module) will say...
"The top 3 users were Team 30, Team 1 and Team 4."