October 25, 2007 at 4:00 pm #7896
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