jcropp
19th April 2006, 18:58
Dear All..
I need a pointer on this one. I have a preprinted purchase order form, that has a detail line 10 that contains a text field. When several POs are sent to the printer at the same time the first PO ignores the page length command and prints too long. All the others page break properly.
I have tried to add in an extra line needed fro that detail - no luck.
I have tried reducing the lage length - no luck.
Here is the script area for detail 10:
detail.10:
before.layout:
if lattr.print and lattr.lineno > 55 then
page()
endif
if ( line = 1 and prnt.pric = tcyesno.yes ) then
fill.incl.values()
update.line.totals.isls0006()
endif
Any pointers would be appreciated.
Thanks
I need a pointer on this one. I have a preprinted purchase order form, that has a detail line 10 that contains a text field. When several POs are sent to the printer at the same time the first PO ignores the page length command and prints too long. All the others page break properly.
I have tried to add in an extra line needed fro that detail - no luck.
I have tried reducing the lage length - no luck.
Here is the script area for detail 10:
detail.10:
before.layout:
if lattr.print and lattr.lineno > 55 then
page()
endif
if ( line = 1 and prnt.pric = tcyesno.yes ) then
fill.incl.values()
update.line.totals.isls0006()
endif
Any pointers would be appreciated.
Thanks