Printing to file per group
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
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
This discussion has been closed.
Comments
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
--
Best Regards