I have a normalized table lname,billnum,usedt,qty,code. the table can have any number of records. I am trying to get a new data that looks like
aggregated on name,billnum,usedt
james 9999999 12/1/09 3 recs 13 codes
3-35033, 2-14933, 8-49786
james 9999999 12/2/09 1 recs 1 code
1-35033
roberts 7777777 12/2/09 5 recs 8 codes
1-35033, 3-79555, 2-97833, 1-45959, 1-23587
Trying to use loop but i am not getting what I want. Thanks for any help or advice
aggregated on name,billnum,usedt
james 9999999 12/1/09 3 recs 13 codes
3-35033, 2-14933, 8-49786
james 9999999 12/2/09 1 recs 1 code
1-35033
roberts 7777777 12/2/09 5 recs 8 codes
1-35033, 3-79555, 2-97833, 1-45959, 1-23587
Trying to use loop but i am not getting what I want. Thanks for any help or advice