Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Upstate NY, New York, USA
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Administrator Defined Fields in Groupwise (Groupwise/VB/Word 97)

    I have a letter template that attaches to our Groupwise address book, puts all the information that I need into an infoholder and then parses it out into the user form text boxes. However, I've created several administrator defined fields but am unable to get them to work as the default fields do. I don't know if I'm referencing them the wrong way (i.e, <PR_FULL_NAME>") or if administrator defined fields have to be extracted in some other way. I can't find a thing on Novell's site and wondered if anyone else uses Groupwise address books with admin defined fields, merged with Word...

    As always, any help is greatly appreciated.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Administrator Defined Fields in Groupwise (Groupwise/VB/Word 97)

    When you connect to the address book, does Word recognize those fields and list them as options? If so, it's hard to see why they don't work. If not, you might have to find another way to connect to Groupwise. You would think that this has come up before... but I haven't seen it here in the Lounge.

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    Upstate NY, New York, USA
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Administrator Defined Fields in Groupwise (Groupwise/VB/Word 97)

    I'm not really connecting to Groupwise as a data source in a normal merge so I can't see any fields. I'm connecting by using the Application.GetAddress command and put all fields into an infoholder then parse it -- a portion of the first line of code is below

    Sub ParseAuthor
    Infoholder = Application.GetAddress (Name:="", AddressProperties:="<PR_LOCALITY>" & vbCr & "<PR_FULL_NAME>" & vbCr & "<PR_BUSINESS_TELEPHONE_NUMBER>" & vbCr & "<PR_TITLE>", UseAutoText:=False)
    'then parse and put into user form text boxes
    End Sub

    As I said, it works with the default fields, but I can't get it work with the admin defined fields.

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Administrator Defined Fields in Groupwise (Groupwise/VB/Word 97)

    I looked up the online help for GetAddress, and found: "For a list of the valid address book property names, see the AddAddress method." This strongly implies that using this method, Word is incapable of accessing any field that isn't on its list. Perhaps there is another way to access the Groupwise address book, although I would have no idea myself how to do that.

Posting Permissions

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