/ Forums / Advansys Formativ / Creating Solutions with Formativ / Groupwise Accounts with Parentheses causing Error on BusySearch / Reply To: Groupwise Accounts with Parentheses causing Error on BusySearch

#8242
mickeyd
Participant

Well, I found the offending line of code! The bug is not in the call to BusySearchDlg, but in the call to another Token: ItemSetText.

When appending resource names (room number) to the appointment recipient list, we used:
Groupwise.ItemSetText(“X00”, itfTo, strRoomNumber, TRUE)
and that is the command that doesn’t like parentheses in the account display names.

And I found a workaround! I now use TextSetTo instead of ItemSetText to append the room number and it works just fine for all account display names, with or without parentheses:
Groupwise.TextSetTo(strRoomNumber, TRUE)

Just thought I’d share the solution. Thanks.