QP This is very old, and quite poor C++-fu is displayed here. I keep it around because it solves a problem, and the report looks nice!