Funny you mention that! I was using a temp table to hold the data to populate a report. While I was working it out (about a year ago), I thought that would be the easiest way to go.
At some point today, while I was mucking about, I realized I could just use the query as a select and base the...