<< I think this will work! Is it possible to add another column (cptcode) to what is displayed without adding it to the group by clause? >>
All columns must be EITHER included in the GROUP BY clause OR ELSE wrapped in a aggregate function (MIN, MAX, COUNT, STD, AVG, or LISTOF). Otherwise, how would R:Base know which of several values to report back to you? -- Larry > > > >

