Thank you for your replies!
Code is working now, but result is : AAA(aaa1,aaa2,aaa3) ; BBB(aaa1,aaa2,aaa3) ; CCC(aaa1,aaa2,aaa3).
And I need : AAA(aaa1,aaa2,aaa3) ; BBB(bbb1,bbb2) ; CCC
So CJ_London you are right that is necessary to put r2 openrecordset line to within the r1 loop ...
And I...