Using Ireport PrintOut() function in Delphi
Posted on 2004-11-23
I've avoided using the Ireport PrintOut() function till now because I hate its parameter requirements, which need you to specify starting and ending pages of the report being printed.
Now that I have to, how do I use it, ensuring that all the pages, of a varying length report, will be printed?
I envy VB user who can simply go...
> crRpt.PrintOut False
If you try to do this in Delphi, you get a > Not enough actual parameters < [Error]. You are forced to supply all the parameters even to parameters you want to remain untouched.