What is Document Title?

In this snippet of Notes Designer Help under “Creating Headers and Footers for Printing” what is “document title” referring to?

The document title (‘&W’ in the Header/Footer text field)

Ive looked for document title in Glossary and in each other reference to it in help and my best guess is that document title and subject are synomyms?? True??

I am asking this question because I cant get the check mark to enable/disable footer printing on the 1st page of a document to work as described in help. Nothing prints on the footer of the 1st page regardless of whether this check box is checked. But the subject field of the document DOES print in the footer on subsequent pages.

Any ideas?

Subject: What is Document Title?

hi,

If you go to the 6th tab of your form properties you will have on the bottom the “Options” section with the checkmark to turn on/off “print header and footer on first page”.

What the HELP document is referring to is that you can print what’s in the “Window Title” into “Header/Footer” section when you will preview/print a document created with your form.

hope this helps,

catalin

Subject: RE: What is Document Title?

PROBLEM: From the Notes Client, I am trying to print out the windows title in the footer of the form. Footer prints correctly on pages 2, 3, etc. but does not print on page 1. I see this same problem posted by Michael Peet on 2-21-05 with no resolution.

I have tried to solve my own problem before posting this using the following information and processes:

I have found footer print properties on the following:

file - database - properties - third (printer) tab - footer - &W

file - document properties - fourth (printer) tab - footer - &W

In designer (Thanks to you, Catalin, I found this)

Form properties - sixth (printer) tab - footer - &W

I have used the set the &W on the form property on the 6th tab to &W with the checkbox entitled Print header and footer on first page checked. I have checked to see if anything is set under database and document properties. Nothing is set for them.

In the Notes Client Form design, I have the following formula on the form to generate a Windows Title:

@If(subject=“”;" ";subject). Thus, using &W, I should be (and AM) getting subject in the footer if doc has a subject. BUT its not printing on the first page–But to make sure I wasnt having issues with subject, I HARDCODED a footer: TESTFOOTER instead of &W

I see from a 11/26/02 post by Andre Guirard that"…database print headers and footers are personal settings, whereas form print headers and footers are part of the design…" and that removing from the wokspace removes personal settings. So I’ve now removed from my workspace in case there really were some personal settings were colliding with db settings.

TESTFOOTER prints nicely on pages 2, 3. 4… (as a result of being coded in the Form print properties) But footer is STILL not printing on 1st page. Any ideas??

Subject: RE: What is Document Title?

I see from our bug reporting system that there may be some effect if the user who creates the document (or who last edited it, not sure which), has database header/footer attributes set for that database. Look in the items of the document for any $fields that may be affecting this.

Subject: RE: What is Document Title?

Thanx Andre.

I dont know what a nasty little field called $HFFLAGS is but when I wrote an agent with the following in it, it let me delete the field AND my form footer started printing on the bottom of even the FIRST page, just like I wanted it to.

FIELD $HFFLAGS:=@DeleteField;

I may have broken something somewhere else ( I’ll have to do some hefty checking of other things now) but it appears that $fields may be the source of my footer problem.

BTW: Do you know where I can find documentation on $HFFLAGS, $HEADERS, $FOOTERS, and other $ FIELDS.