baanfans
15th April 2004, 03:42
Hello all

I need to print one pre-printed form (invoice), this invoice is printed in a sheet with only the logo and customer's address, but the customer needs can print all the format as like as pre-printed form. I mean, while I have data to send to report there is not problem because all lines are in the layout, but when there is not data, then gaps can watching in the page. example:

-----------------------------------------------------------------------------------
|PROD CODE DESCRIPTION QUANTITY...
-----------------------------------------------------------------------------------
|001 | ITEM 1 | 10 |002 | ITEM 2 | 10 |


*** GAP THAT I DONT WANT TO SEE **** because there are not items line in the sales order.

| ** rest of invoice ***...


In fact, I want can print all the boxes that build the pre-printed invoice by report.

Thanks in advance,
ArĂ­stides

Hitesh Shah
15th April 2004, 09:22
U can try function layout.again() in report script to print the same layout again or use the function skip(expr) to skip number of lines evaluated in expression 'expr' . This should help u accomplish ur objective.