rockyr
7th April 2010, 22:23
We'd like to print order header text prefaced with "BOL:" on our Bills of Lading. The Bill of Lading may be for multiple orders. Has anyone put this in production?

Mario
10th April 2010, 20:35
Hi Rockyr,

I would put a new layout on the report with only the text field (let's say : tdsls040.txta ) and a layout condition let's say BOL (type long). example : detail.5

In the report script on an existing layout, or if needed create a second new layout, you can add the script to do the select statement of the orders / texts you are interested in. For each selectdo you can start the newly created layout and let it print the text.

so in layout detail.10 you can than put in the script:

detail.10
before.layout

lattr.print = false | if you don't want anything to print

select tdsls040.txta
from tdsls040
where tdsls040._...= {:...}
and tdsls040.txta > 0
selectdo
bol = true
r.5.s.detail()
bol = false
endselect

Groetjes, Mario