>I need to print 1 page per record on the dbf followed by a second page printed a number of times
>
>So for example record 1 has 5 recipients so I need to print 1 header and 5 recipients pages
>
>So for example record 2 has 10 recipients so I need to print 1 header and 10 recipients pages
>
>Is this possible with VFP report system? If not what should I do
>
As the other guys pointed out, you might accomplish this by smart combination of cursors and grouping. However if each group header
has to be on separate page followed by recipient pages then you might hit the wall with FRX.
It might be an overhead for this task If requirement is flexible, but if precise layout is a must, have look at
www.report-sculptor.com There you can control 100% creation of each page, but you will have to rebuild report from scratch using form and form objects
(form containers as report band canvases, and labels,textboxes etc. as report content) and then run it all as report from inside code.
You do that by traversing through data (scan/endscan) and creating report as you go.
Hence there is .eject() method which can directly flip new page of a report.
See form report samples is RSDemo project (#07 and up) for more ideas.
HTH
Sergio