#7328
MA
Participant

    The user-defined field type constants egwString in formativ is fgwString Wink. See the Formativ language guide for more details. The code below works for me. Hope this helps.

    Dim oFieldDef

    On Error Resume Next
    Set oFieldDef = Groupwise.Account.FieldDefinitions.item(“TagLine”, fgwString)
    On Error GoTo 0

    If Not IsObject(oFieldDef) Then
    Set oFieldDef = Groupwise.Account.FieldDefinitions.Add(“TagLine”, fgwString)
    End If

    [This message was edited by Support 1 on October 11, 2005 at 04:35 PM.]