BIP 3 Doc Template

BBritain

VIP Member
Hi Gurus,

Perhaps someone has a general structure to help me meet the following requirement.

INVOICE
- Invoice (will always be 1)
- Costing Sheet (can be 0 to many)
- Tag Bill Sheet (can be 0 to many)

Invoice Header
Invoice Detail
- Detail can be 1 or many pages and Invoice Header will reprint on each page

If there is appropriate data

Costing Header
- Will start on a new page
- If no Costing data, no Costing Header
Costing Detail
- Detail can be 0 to many pages and Costing Header will reprint on each page

If there is appropriate data

Tag Bill Header
- Will start on a new page
- If no Costing data, no Costing Header
Tag Bill Detail
- Detail can be 0 to many pages and Costing Header will reprint on each page

I have tried using Section break (with new header) which works if there is data for ALL sections, but when there is no data (for Cost or Tag Bill), the header prints anyway and fails the requirements. Because the new header is embedded in the Word Header area, the Section break triggers the header template before any data has been encountered, so if no data - it still prints.

I have also tried using variables (setting and getting) to control what gets called, but the variables don't seem to work in the header area (the revert back to the initialized value).

So if anyone has a suggestion for a 3 document situation where there are 3 different headers and 0 to many pages of detail for each page, I'll gladly listen!

Ben again,
 
Back
Top