but if there are more records for group 1 to fill 2 columns than
this group will start in column 1.
That is why I asked. :-)
Like this:grp 1 grp 1
grp 1 grp 1
grp 1 grp 1
grp 1
grp 1
--------------------
grp 2
...
Or it should always be:grp 1 grp 1
grp 1 grp 1
grp 1 grp 1
grp 1
grp 1
------------------
... grp 2
... grp 2
... grp 2
Not sure I understand what you are saying here. The groups need to print in column 1 until a group with a specific value is encountered.
Then the report needs to start at the top of column 2.