printing few report with different captions

eyalco

Registered User.
Local time
Today, 09:40
Joined
Jul 24, 2007
Messages
50
I'd like to print diff. report but each with diff. caption.
What w'd be the best approach for that (how do I determine the number of copies and how to change)?
Thanks.
 
Set the number of copies in a textbox on a form, then call the Preview/Print Report command, use the OnFormat of the Header Section of the report to specify the appropriate heading.

You probably have to have some kind of control on the calling form to indicate which header(s) to use. How would you otherwise know which to use?
 
Thanks for your reply.
I did that - I have set a form where the user indicates number of copies. When done, in a table there are 2 sets of numbers : 0 and 1's. The 0 represents the "original" caption and the 1's are the copy part (if there are 3 1's then 3 copies are printed etc'.

The question really is : how do I draw these numbers from the table to the report, in a loop, telling him each number give diff. caption?
 
I would use different reports, i.e. one for each. KISS is a good maxim for coding. Elegant code isn't always practical and subsequwent supporters may not be able to figuire it out. Small reports have very little overhead.
 

Users who are viewing this thread

Back
Top Bottom