Hi Kalyan,
Here's what you need to do:
1) Create a formula with this code:
WhileReadingRecords;
"";
2) Go to the Group Expert and add the above formula field to the top of the Group List.
3) Suppress Group Header 1 and Group Footer 1
4) Insert a Group Header 2b section and place the column headers in this section
5) Go to the Group Expert > Highlight the first group > Options > Options tab > Check the 'Repeat Group Header on each page' option
6) Repeat Step 5 for the second group as well
7) Go to the section expert > select Group Header 2b > click the formula button beside suppress and use this code:
WhilePrintingRecords;
numbervar x := x + 1;
x <> 1
8) Create a formula with this code and place it on the Group Header 1:
WhilePrintingRecords;
numbervar x := 0;
"";
-Abhilash