I have a simple system in which you can enter invoices into a database. It contains dates, amounts, items, etc. I want to be able to create custom reports based on just about whatever I want and I want to be able to sort them just about any way I want to. For example I want to be able to create a report based on how much spent in descending order based on person, date or what the item was. I'm not looking for code, but rather a way to go about accomplishing this. So far an idea I have would be to generate a list of all of the invoices in the database and have little icons at the top so when you click on it it sorts it based on that. However, as mentioned before I'd like to sort it even further than that, if possible. Any ideas? Thanks. 🙂