Dear Kid Fix:
How open ended? The tables in your report, do have a finite number of fields by which the data can be grouped that would make sense.
I would sit down and figure out what those finite number of fields are.
Then design the report with the maximum number of groupings your desire.
Lets say that you have a sales report.
You could group by Sales Date, Sales Year, Sales Person, Product, City, State, Region, Customer, Order#, etc!
So what I would do, is think about the Groups that would make sense for the report?
In other words you can take one report of a type and make it a Customer Order Report and then determine what types of variations in the sort make sense for a customer Order Report, maybe State, City, Customer, or Sales Rep, Customer, Product and so on until you have determined the various permutations. Same thing if it when it is run it is Sales Report; Sales Rep, Products, Customers etc.
Once you have done that, it will be easy but time consuming to set up the grouping. What I am trying to indicate is that you could have a parameter that says, What Report Type: Customer by Sales Rep, Customer by State by Product...
Then your formulas for the various groups would be easy to set up as you would know from the report type param, what they wanted to see the report grouped by.
Hope this was helpful....
ro Rosemary Lieberman
rosemary@microflo.com,
Microflo provides expert consulting on MagicTSD and Crystal Reports.