Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with 'Number of Pages' field in Word
Message
From
30/03/2000 01:01:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00341577
Message ID:
00352574
Views:
22
Good you found a solution. I didn't know that SR1 exists :) I'll apply it soon.
Cetin


>Hi Cetin,
>
>Today I found the answer. It is a bug in Word, documented in Q189175 ("WD2000 - Incorrect SectionPages or NumPages When Printed") dated March 17, 2000. The article says that the bug is fixed in Office 2000 SR-1. It also lists three workarounds: 1) turn off show/hide; 2) turn on reverse printing, or 3) turn off background printing. I found that turning off background printing works, I didn't try the other two.
>
>The article says this bug applies only to Word 2000, but it is evidently a bug in Word 97 SR-2 as well. I tested the workaround under Word 2000 at my office. I will test it at my client's site under Word 97 SR-2 tomorrow.
>
>

>>Rick,
>>Making a shoot in dark :) I hope it's w97 or older. w97 has some errors on updating numberings. Error is fixed in SP2. You could download it from MS site. It's also on MS TechNet CDs. Hope helps.
>>Cetin
>

>>>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.
    Çetin Basöz

    The way to Go
    Flutter - For mobile, web and desktop.
    World's most advanced open source relational database.
    .Net for foxheads - Blog (main)
    FoxSharp - Blog (mirror)
    Welcome to FoxyClasses

    LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform