Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Paragould, Arkansas, USA
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Updating fields on Forms (2000 SP3)

    I'm just starting to play with Word forms. At one point, the user enters a name in a field (labeled "ASF_Name"). The form requires the ASF_Name value to be in another location, also. How do I get the second location (ASF_NameSub) to update so the user won't need to enter it twice? (and so that ASF_NameSub is updated after it's entered the first time?)

    I tried to use some VBA in the ASF_Name Exit event. I do lots of Excel VBA, but I just can't figure out the way to get the ASF_Name field's value into the ASF_NAMESub location.

    Errol

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Updating fields on Forms (2000 SP3)

    If you are using form fields from the Forms toolbar, each form field has an associated bookmark. With the document unlocked, double click the form field to view/modify the name of this bookmark. Also check the Calculate on Exit box. The click OK. At the other location, insert a REF field that refers to the name of the bookmark. You can do this from Insert | Field..., or Insert | Reference | Cross Reference..., or by typing Ctrl+F9 to insert Field braces { }, then type the name of the bookmark between them. Right click the field to toggle field codes off.

    If this is off the mark, please explain what you are using.

  3. #3
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Paragould, Arkansas, USA
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Updating fields on Forms (2000 SP3)

    Hans,
    Right on target. Thanks!
    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

    I knew it was only a matter of RTFM <img src=/S/rtfm.gif border=0 alt=rtfm width=24 height=23> , (which I don't have for Word).

    Errol

Posting Permissions

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