Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with 'Number of Pages' field in Word
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problem with 'Number of Pages' field in Word
Divers
Thread ID:
00341577
Message ID:
00341577
Vues:
56
Has anyone seen a problem where the "number of pages" field in the footer of a Word document looks fine on the screen but gets changed when the document is printed?

The particular document we're working with has two sections. The page footer of each section contains a {SECTIONPAGES} field so we can show "1 of 2" and "2 of 2" in the first section, and "1 of 4", "2 of 4", etc. in the second section. The page numbers are correct when we look at the document on the screen, and remain correct in the print preview window. But when the document is actually printed on paper the page footers come out as "1 of 1", "2 of 2", etc.

Some things we have tried:
  • Verified that there is in fact only one section break in the document.
  • Verified that the second section footer is not marked "Same as previous".
  • Changed the value of UpdateFieldsAtPrint and found that it makes no difference.
  • Manually updated fields with F9 and found that it makes no difference; the page numbers remain correct on the screen but still go wrong when printed.
  • Printed the document with field codes and verified that the {SECTIONPAGES} field is still there.
  • Made the document ReadOnly and found it makes no difference.
  • The number of pages remains the same when the document gets printed, so we're thinking it's not a repagination issue.

    We're running out of ideas. Any insights or suggestions would be greatly appreciated.
    Rick Borup, MCSD

    recursion (rE-kur'-shun) n.
      see recursion.
  • Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform