Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jan 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding text to field in form (office 2000)

    Hi gang,
    In a form, I want a field that will get the info from a previously filled in field + some text. I know how to do part of it:
    ActiveDocument.FormFields("Field2").Result = ActiveDocument.FormFields("Field1").Result
    don't know how to say + "mytext"
    Please help
    tks

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,853
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Adding text to field in form (office 2000)

    Have you tried...
    With ActiveDocument
    .FormFields("Field2").Result = .FormFields("Field1").Result & "mytext"
    End With

    Alternatively, if the "mytext" never changes then you could put this after the formfield and not try to concatenate it into the field result at all.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

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