/ Forums / Advansys Formativ / Creating Solutions with Formativ / Using “.find” with custom fields / Reply To: Using “.find” with custom fields

Support 1a

Try BEGINSWITH instead of BEGINS WITH, i.e

sFilter = “(MAIL) AND (<MyCustomField, STRING> BEGINSWITH “”Opened””)”

You may need to call the Refresh method of the messagelist you apply the filter to prior to calling FindMessages, i.e:


Set iMsgs = GroupWise.Account.MailBox
Set iMsgList = iMsgs.FindMessages(sFilter)

Advansys Support