check report 1401

sezpezsezpez Member Posts: 5
hi there. :)
I am designing a US style check on preprinted stationery with the check at the bottom but instead of 1 advice section there are 2 (the advice section is repeated before the check).
To deal with this I have created 2 PrintSettledLoop DataItems and set the MaxIteration to 10 for both. The 2nd PrintSettledLoop dataitem section has a series of blank lines before it starts. The PrintCheck DataItem Footer is set to PlaceInBottom.
Now this works great if the number of transactions is 10+, the 2nd PrintSettledLoop starts printing in exactly the right place on the stationery and the sections go over multiple pages as you'd expect.
However if only 1 invoice is being paid there is only 1 transaction displayed which means my 2nd PrintSettledLoop section starts higher up the page and doesn't fit onto the stationery layout!

My problem (which I couldn't find an answer to on previous topics regarding check printing) is how to control where the 2nd PrintSettledLoop section starts printing regardless of how many transactions (up to a max of 10) have printed on the 1st PrintSettled Loop.
The customer has already purchased the stationery so its got to be done.

I hope my explanation is clear. Any advice would be gratefully received!
Sezpez

Comments

  • krikikriki Member, Moderator Posts: 9,118
    The easiest way:
    Instead of using a loop per payment, use a loop per page and design the sections to fill exactly 1 page.
    In case you have multiple payments, you can use arrays with different values.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.