/ Forums / Advansys Formativ / Creating Solutions with Formativ / Adding a FieldDefinition / Reply To: Adding a FieldDefinition
October 11, 2005 at 4:01 pm
#7328
The user-defined field type constants egwString in formativ is fgwString . 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.]