Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Printing to file per group

edited August 2002 in General
I have a strange request. I am using ExtraDevices from Waler and would like
to print to (say PDF) file however I would like to break on each group and
send the respective page to a recipient via e-mail.

Pseudo code would be something like

Table->sorted on surname with group on surname

while not eof(database) do
if new-group then
print group to file
e-mail file to surname->owner
end-then
end-while


-- My consultant's calculator --
Answers $1
Correct Answers $2
Dumb looks... Still free!
--

Best Regards
Mervin Pearce

Comments

  • edited August 2002
    Mervin:

    like

    Several ways but the each create a separate report for each group.
    1) Depending upon your data, do not allow the master record to traverse the
    dataset

    2) Create a new master dataset that is the grouping

    3) or filter the master dataset into a single group and then print for each
    group.

    HTH
    Ed Dressel
    Team DM
  • edited August 2002
    Thanks, working like a charm filtering per group

    --

    Best Regards
This discussion has been closed.