Excellent, works like a charm. Many thanks.
In reply to Re^2: OT: peak values with SQL by revdiablo in thread OT: peak values with SQL by revdiablo