Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Winston-Salem, North Carolina, USA
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Has anybody run into this before, and do you know of a solution? In a document with paragraph numbering applied through heading styles, you can insert cross-references to paragraph numbers. Then you edit the document, re-ordering paragraphs so that the paragraph numbers change. You must then update fields to update the cross-references. If we update fields after moving only one cross-reference target, the cross-reference number updates correctly. If, however, we wait until all sections are reordered before updating fields, the cross-references update incorrectly, showing the wrong paragraph numbers. Anybody know of a solution for this? Thanks so much.

    Lee Morgan

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Try saving the document, closing th document, re-opening th edocument, Ctrl A, then F9 to update all fields.

    If that doesn't work, either you have encountered some sort of Word bug, or the document has entered politics and been corrupted.

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Winston-Salem, North Carolina, USA
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Thanks for the suggestion Howard. Unfortunately, it doesn't work. Since this is happening on every document we've tested it on, I suspect a Word bug. Has anyone run into this before, or read about it? Thanks.

    Lee Morgan

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    I just tried this with a fairly simple document, and it looks like you are right.

    I had about 15 headings in 4 levels. I moved them all around and updated the fields and one of them ended up with the wrong reference. No amount of updating fields is going to fix this - it has a valid reference field pointing to the wrong place!

    Curious.

    StuartR

  5. #5
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Winston-Salem, North Carolina, USA
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Oh, boy - I've discovered a Word bug. I hope this isn't like comets, where when you find one, they name it after you! Thanks for the confirmation, Stuart.

    Lee Morgan

  6. #6
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    A bit more play and I have this in a really small file.

    Create a word document with 4 paragraphs containing the following text.
    <pre>A point to 3C
    B point to 4D
    C point to 1A
    D point to 2B
    </pre>

    Insert a couple of blank paragraphs before and after these four so you can drag and drop easily
    Format all 4 paragraphs as Heading 1
    Modify the Heading 1 style so that it is numbered
    Insert a cross reference at the end of each paragraph with the number of the one it points to
    It now looks like this
    <pre>1. A point to 3C <font color=448800>3</font color=448800>
    2. B point to 4D <font color=448800>4</font color=448800>
    3. C point to 1A <font color=448800>1</font color=448800>
    4. D point to 2B <font color=448800>2</font color=448800>
    (Green text is a cross reference field)
    </pre>

    Drag 1 to the end
    Drag 3 to the beginning
    Drag 2 to the end
    It now looks like this
    <pre>1. D point to 2B <font color=448800>4</font color=448800>
    2. C point to 1A <font color=448800>3</font color=448800>
    3. A point to 3C <font color=448800>2</font color=448800>
    4. B point to 4D <font color=448800>4</font color=448800>
    </pre>

    Note that we no longer have one pointer to each paragraph. This is definitely a bug.

    StuartR

  7. #7
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Hi Stuart,

    > Note that we no longer have one pointer to each paragraph. This is definitely a bug.

    Only until you update fields (Ctrl+A, F9) <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Klaus

  8. #8
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Oh, just was able to replicate the bug with your example, and I think I found the explanation, too:
    When you said: Drag 3 to the beginning, I guess you selected the third line and dragged/dropped it to the beginning of the first paragraph.
    When you did that, you probably inserted the text *inside* the bookmarked first paragraph.

    An even simpler example would be
    1. A point to B 2.
    2. B point to A 1.

    Drag the second line to the top and update fields, and both cross references will display "1."!
    If you have an empty para before "1. A point to B", and drag the second para to before that empty para, all will be fine.

    This really looks a mess...

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Klaus

  9. #9
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    > you probably inserted the text *inside* the bookmarked first paragraph

    I think you must be right, I just tried it again and couldn't reproduce it if I was very careful to always drag to an empty normal paragraph.

    If this is the cause of the original problem then the best solution would probably be to use Outline View and the Move up and Move down arrows on the outlining toolbar to move the paragraphs around.

    StuartR

  10. #10
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    I just verified what's happening more closely (by watching the hidden bookmarks in "Insert > Bookmarks").

    Using Outline view to move paragraphs seemed a great idea, but as far as I can see unfortunately it doesn't prevent the problem.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Klaus

  11. #11
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    This is even worse than I thought.

    I just tried using the Outline Move Up, and Down. You end up with hidden bookmarks that point to multiple paragraphs!

    Reminds of a problem I once had with the hidden bookmarks used for Captions. I ended up having to write Macros that used my own hidden bookmarks and fixed them up every time Word screwed them for me!

    StuartR

  12. #12
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Another case where it bites you: If you have a cross-referenced paragraph (meaning a hidden bookmark spanning that paragraph), put the cursor at the start of the paragraph, and hit Return a few times, you may think that you have created new paragraphs, but the hidden bookmark will span all paragraphs.

    I don't need cross references a lot in my documents (fortunately, it seems <img src=/S/wink.gif border=0 alt=wink width=15 height=15>), but sometimes I've already deleted all hidden _REF######## bookmarks and REF fields, and started from scratch, because things seemed badly botched.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Klaus

  13. #13
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    Toronto, Ontario
    Posts
    254
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    This may or may not be helpful but I do know that when adding new paragraphs, always position the insertion point at the end of the previous paragraph, not at the beginning of a paragraph or the cross-reference will not be updated. Cheers, Paddy

  14. #14
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Very good advice! But it's a shame that such rules are needed.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Klaus

  15. #15
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Winston-Salem, North Carolina, USA
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross-referencing (Word 2000, SR1-A, on Windows 2000)

    Klaus and Stuart -

    Thanks for all the time you've spent testing this. Just as a confirmation, when I moved the target paragraphs, I was using the outline view, so that eliminates the idea of dropping the text into an existing paragraph. I'm a bit confused about the hidden bookmarks issue. I'm assuming from what you wrote that when you cross-reference to a heading number, Word creates a hidden bookmark. Are you also saying that it creates additional hidden bookmarks when you add paragraphs or move paragraphs around? If so, do you know how to delete them and leave only the original bookmarks? Thanks so much.

    Lee Morgan

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •