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

#6375
Support 1a
Participant

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:

code:


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

Advansys Support