The form properties has a header section in which you can code with formula or text. From Notes 6 Help.
To create a print header and footer
You can define a header and footer that will print on all documents created with that form. Headers and footers are not supported for Web applications.
1. On the Printing tab, click Header and enter the text you want to appear in the header text or click Footer and enter the text you want to appear in the footer text.
2. Click one or more of the icons (located just below the text area) to insert the following into the header or footer:
Page number (first icon on the left)
Title (last icon on the right)
3. (Optional) Assign a font, size, and style for header or footer text.
Header and footer alignment
Headers and footers have three preset, permanent tab stops: left, center, and right. When you insert one tab, text to the left of the tab is left justified, and text to its right is right justified. With two tabs, text to the left of the first tab is left justified; text between the two tabs is centered; and text to the right of the second tab is right justified. For example:
&D|&T|&P– Left justifies the date, centers the time, and right justifies the page number.
|URGENT| — Centers the text URGENT.
||URGENT — Right justifies the text URGENT.