07-31-2006 8:51 PM
Hi,
We are using a smartform for invoice print out. We want to have a running total on every page of the output. I created a separate window at the bottom of each page to print the running total. I'm using a TABLE to print
the invoice item and I created a program node to compute for the running total using the item amount.
It seems like the smartform is not issuing the page break correctly. During debug, the smartform is printing an item in page 1 (SFSY-PAGE still shows page 1) but during output, this item is being printed in page 2. Since we have already accounted for the item amount in the
running total, our running total ended up higher than expected (because the item that is suppose to be printed in page 1 ended up being printed in page 2).
I also try a different approach using the Footer event and I'm still geting the same issue. I have looked for some OSS notes and did not find any that relates to my issue. Can you please help.
Thanks,
Apollo
07-31-2006 8:56 PM
Hai
Check the following
Table control will draw lines till last record only.
You can do like this... Use table control but do not use the lines of table control... Make all the borders invisible... and use a overlap window in that draw a template...
Regards
Sreeni
07-31-2006 8:56 PM
Hai
Check the following
Table control will draw lines till last record only.
You can do like this... Use table control but do not use the lines of table control... Make all the borders invisible... and use a overlap window in that draw a template...
Regards
Sreeni
07-31-2006 11:19 PM
Sreeni,
Thanks for your reply. One of the columns that we're printing is the material long description from the material master (include text). We can not use a template since it has a fixed height. Tables on the other hand can have dynamic column height. I tried using a LOOP and under the LOOP is a TEMPLATE and this works. But then again, we need to have the dynamic column height capability of the TABLE.
Do you think that this is a bug in the SMARTFORM? It seems like that the TABLE line is not being considered when computing the remaining height.
Thanks,
Apollo
11-08-2006 6:16 PM
Hi Apollo,
I have the same problem, Have you found a solution for that?
Kind Regards,
Eduardo