KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Print the Header on the First Page only of Print Selection
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: January 12, 2001

Create an output form that has the H0 marker at the very top of the form, place the header under the H0 marker, then place the H1 marker just below the header. Create the method for print selection as follows:

` Method: 1Headerprint
`
` Purpose: Print selection with the header only printing
` on the first page.

ORDER BY([Albums]BlankField)
ACCUMULATE([Albums]PurchasePrice)
BREAK LEVEL(1)
PRINT SELECTION([Albums])

The ORDER BY is a blank field created so the header does not repeat at each change in data.