Sorry, I probably wasnt specific enough. I know how to create a crosstab query, but I dont know how to use the actual fieldnames in a table as my rowsource or columnsource for the query, as opposed to just making each row a grouping of identical values from ONE column.
Essentially what I want to end up doing is just a select query with totals, but unfortunately, there is not an aggregate function built into sql to total using the function I want, which happens to be the 90th percentile.
Hopefully this makes more sense.