/ Forums / Advansys Formativ / Creating Solutions with Formativ / GroupWise Account CategoryDefinitions Add / Reply To: GroupWise Account CategoryDefinitions Add

#7896
Support 3
Participant

Good to hear that you have solved the issue.

You can also perform some check prior to add the category. For example, set the minimum length of the category to 3 or more characters length.

  
For x = 0 to iCodeList.count - 1
  if (len(iCodeList.strings(x)) >= 3) then
    GroupWise.Account.CategoryDefinitions.Add(iCodeList.strings(x))
  end if
Next

Regards,
Advansys Support