Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Germany, Germany
    Posts
    169
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Auto-Update of fields in header or footer (2002)

    Hello everybody!

    I am working on a template for reports. On the first page, I have a formfield for the project-name. On the following pages, I have a reference field in the footer, which refers to the formfield with the project-name. I now want the reference field to auto-update whenever the formfield with the project-name is changed. I have already found out, how to do it when the reference field is placed somewhere in the document (one may use the <pre>ActiveDocument.Fields.Update</pre>

    command, though I do not know, whether this is the best way or not), but this does not work, when the REF is placed in the footer.
    It would be very helpful, if someone had a hint for me. Any help will be appreciated.

    Best regards, Porley

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

    Re: Auto-Update of fields in header or footer (2002)

    Have a look at <post#=119527>post 119527</post#> for sample code showing how to update fields in all headers and footers in a document.

    StuartR

  3. #3
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Germany, Germany
    Posts
    169
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Auto-Update of fields in header or footer (200

    Hello StuartR!

    Thank you. This perfectly fits my needs.

    Best regards, Porley

  4. #4
    2 Star Lounger
    Join Date
    Dec 2002
    Location
    San Francisco, California, USA
    Posts
    108
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Auto-Update of fields in header or footer (200

    Gotta know: How do you insert a hyperlink to a specific post number in a message, as you did below?

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

    Re: Auto-Update of fields in header or footer (200

    Information about lounge markup can be found in <!help=19>Help 19<!/help>, you should also look at the "1-Click TagPanel" which is available by clicking just above the pane where you enter your text.

    To add a pointer to <post#=470212>post 470212</post#> you use the syntax <!t>[Post#=470212]<!/t>.

    StuartR

Posting Permissions

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