Tuesday, June 29, 2021

Insert or delete a header or footer

When you design a form template, you can specify that headers or footers appear in the top and bottom margins of the page when users print the form. If your form template has multiple views, you must insert headers and footers separately for each distinct view.

What do you want to do?

Insert a header or footer

  1. On the View menu, click Header and Footer.

  2. Click the Print Settings tab.

  3. Under Headers and footers, do one of the following:

    • To add a header to the form template, click Header.

    • To add a footer to the form template, click Footer.

  4. In the Header Format or Footer Format dialog box, do one of the following:

    • To insert static text in the header or footer, such as the name of your company, type the text that you want in the Print form with this header or Print form with this footer box. By default, the text will be left-aligned in the header of footer of the printed form.

    • To insert variable text in the header or footer, such as the current page or today's date, select the option that you want in the Insert AutoText list. To include text in combination with the variable, type the text and the variable directly into the Print form with this header or Print form with this footer box. For example, to print "Page 1 of 3," "Page 2 of 3," and so on, type Page &p of &P in the Print form with this header or Print form with this footer box.

      Note: Find links to more information about headers and footers in the See Also section.

      List of AutoText entries

      You can use the following AutoText entries when creating a header or footer.

      To do this

      Use this AutoText entry

      Variable

      Print data from the form

      Field

      Varies

      Print the current date in short format*

      Short Date

      &d

      Print the current date in long format*

      Long Date

      &D

      Print the current time*

      Time (Regional Format)

      &t

      Print the current time in 24-hour format

      24-Hour Time

      &T

      Print the current page number

      Current Page

      &p

      Print the total number of pages

      Total Pages

      &P

      Right-align text

      Push Text Right

      &b

      Print a single ampersand (&) character

      &

      &&

      * As specified by regional settings in Control Panel.

  5. Select the formatting options that you want for the header or footer.

  6. To test how your changes will look on the printed form, click Print Preview alternate text on the Standard toolbar.

    Note: Headers and footers appear only in the Print Preview window and in the printed form, and will not appear in the regular Preview window.

Top of Page

Center the header or footer

By default, the header or footer appears on the left side of the printed form. To center text in the header or footer, you must enclose that text with the &b variable.

  1. On the View menu, click Header and Footer.

  2. Click the Print Settings tab.

  3. Under Headers and Footers, click Header or Footer.

  4. In the Print form with this header or Print form with this footer box, place the cursor at the beginning of the header or footer text, and type &b.

  5. Place the cursor at the end of the header or footer text, and type &b again.

    For example, to center the name of your company in a header, type &bname&b, where name is the name of your company.

  6. To test how your changes will look on the printed form, click Print Preview alternate text on the Standard toolbar.

    Note: Headers and footers appear only in the Print Preview window and in the printed form, and will not appear in the regular Preview window.

Top of Page

Right-align the header or footer

By default, the header or footer appears on the left side of the printed form. To right-align text in the header or footer, you must use the &b variable before that text.

  1. On the View menu, click Header and Footer.

  2. Click the Print Settings tab.

  3. Under Headers and Footers, click Header or Footer.

  4. In the Print form with this header or Print form with this footer box, place the cursor at the beginning of the header or footer text, and type &b.

    For example, to right-align the name of your company in a header, you would type &b name, where name is the name of your company.

  5. To test how your changes will look on the printed form, click Print Preview alternate text on the Standard toolbar.

    Note: Headers and footers appear only in the Print Preview window and in the printed form, and will not appear in the regular Preview window.

Top of Page

Delete a header or footer

  1. On the View menu, click Header and Footer.

  2. Click the Print Settings tab.

  3. Under Headers and footers, do one of the following:

    • To delete a header from the form template, click Header.

    • To delete a footer from the form template, click Footer.

  4. In the Print form with this header or Print form with this footer box, delete the header or footer text.

  5. To test how your changes will look on the printed form, click Print Preview alternate text on the Standard toolbar.

    Note: Headers and footers appear only in the Print Preview window and in the printed form, and will not appear in the regular Preview window.

Top of Page

No comments:

Post a Comment