Hello All,
First, I am using Report Developer 6i, and although I've been using it or 4 years, I've had to learn on my own due to lack of support for sending me to classes, and I am also responsible for reports in a host of other applications using Access and Noetix, so I am spread considerably thin in trying to concentrate all my focus to just one reporting system.
I have a report designed in Postscript to print Invoices. This Invoice report consists of a header page, the Invoice(s), and a Trailer Page. One of our subsidiaries wants a "Recipient" statement printed under certain conditions, one of which is that if this Invoice stretched more than one page, it must print on the last page of the Invoice only. This statement is in the Margin of the Main Section of the layout.
I have covered that part (although I may be just lucky and it's printing that way), but the problem is when the Invoice is only 1 page (very rare for them) this statement does not print. I wanted to use the TOTAL PHYSICAL PAGES variable in trying to calulate when to print the statement, but from what I can find, this variable is not accessable to use in that manner.
I then started researching and found the SRW.GET_PAGE_NUM package and the suggestion of using Global Variables. My problem is I've never set up a Package(Spec, Body, etc.), and every time I've found info on this, it's never quite explicit enough to allow me to create this from start to finish - most explanations are as though the requestor had some knowledge of this area, and regretfully, I do not (although I'm trying to gain this knoweledge).
Can anyone walk me through this step by step - I think I can deal with triggers and such, but for some reason this Report Package stuff just isn't quite sinking in. Or if not, can you point me to a destination in which I can find my answer?
Thanks and Regards
Lanny
First, I am using Report Developer 6i, and although I've been using it or 4 years, I've had to learn on my own due to lack of support for sending me to classes, and I am also responsible for reports in a host of other applications using Access and Noetix, so I am spread considerably thin in trying to concentrate all my focus to just one reporting system.
I have a report designed in Postscript to print Invoices. This Invoice report consists of a header page, the Invoice(s), and a Trailer Page. One of our subsidiaries wants a "Recipient" statement printed under certain conditions, one of which is that if this Invoice stretched more than one page, it must print on the last page of the Invoice only. This statement is in the Margin of the Main Section of the layout.
I have covered that part (although I may be just lucky and it's printing that way), but the problem is when the Invoice is only 1 page (very rare for them) this statement does not print. I wanted to use the TOTAL PHYSICAL PAGES variable in trying to calulate when to print the statement, but from what I can find, this variable is not accessable to use in that manner.
I then started researching and found the SRW.GET_PAGE_NUM package and the suggestion of using Global Variables. My problem is I've never set up a Package(Spec, Body, etc.), and every time I've found info on this, it's never quite explicit enough to allow me to create this from start to finish - most explanations are as though the requestor had some knowledge of this area, and regretfully, I do not (although I'm trying to gain this knoweledge).
Can anyone walk me through this step by step - I think I can deal with triggers and such, but for some reason this Report Package stuff just isn't quite sinking in. Or if not, can you point me to a destination in which I can find my answer?
Thanks and Regards
Lanny