I have a main table/recordset. The recordset has composite primary key that consists of two fields "Product Group" and "Patch Area". There are 368 different combinations of these fields. I like to create 368 different recordsets so that I could run an independent cumulative sum function on each of the recordsets. Could you please help me with how to code this in VBA Access. I have the generic idea but really don't know the syntax of carrying this out. Thanks!