G
Guest
I have two tables that are linked together by primary Key, (Detail Driver and
Summary Driver Records), Each record type has Driver Name, Owner Name and
Interested Party Name for EACH record type. There may or may not be Summary
Records for a Detail record, (1 Car accidents).
Issue is this. For every Different Name listed on corresponding Detail
Record and summary Record, I need to print a copy of the report, as well as
mailing labels and envelopes. I have used OpenReport and PrintOut Actions
and they work well when you hard code the number of copies, BUT.... I need
to be able to have a counter, that is zeroed on each change of detail record,
add 1 to the counter for each different name found on the detail record (up
to 3) and then add 1 to the same counter for each summary record name (up to
3 per summary record), so therefore you could have an unlimited number of
copies to print.
Can anyone advise the best way to do this. Like I say, I can make it work
if I hard code COPIES= on the PrintOut Action command. Is there any other
way.... PrintOut COPIES only accepts an integer and not a variable.
Would like some extra thought support here.
Thanks in advance
Summary Driver Records), Each record type has Driver Name, Owner Name and
Interested Party Name for EACH record type. There may or may not be Summary
Records for a Detail record, (1 Car accidents).
Issue is this. For every Different Name listed on corresponding Detail
Record and summary Record, I need to print a copy of the report, as well as
mailing labels and envelopes. I have used OpenReport and PrintOut Actions
and they work well when you hard code the number of copies, BUT.... I need
to be able to have a counter, that is zeroed on each change of detail record,
add 1 to the counter for each different name found on the detail record (up
to 3) and then add 1 to the same counter for each summary record name (up to
3 per summary record), so therefore you could have an unlimited number of
copies to print.
Can anyone advise the best way to do this. Like I say, I can make it work
if I hard code COPIES= on the PrintOut Action command. Is there any other
way.... PrintOut COPIES only accepts an integer and not a variable.
Would like some extra thought support here.
Thanks in advance