M
Martin
I have to user defined fields "guidparent" and "contractback" and I want to
filter the contact items for these fields. Both fields are defined on the
folder level. guidparent is a textfield and any separated filter works.
contractback is a yes/no field and any attempt to filter for the fieldstatus
"no" failed.
My restriction is
strRestrict2 = "[contractback ]= 'No'"
ctlViewContacts.Restriction = strRestrict
The result is amazing. Outlook shows all Elements which are contractback
=Yes. I couldn't manage it that outlook shows me the desired result.
How would I corectly connect the restriction filter? Does this work?
strRestrict = "[guidparent] = '" & Item.UserProperties.Find("guid").Value &
"'" & " And ""[contractback ]= 'No'"
Any Help would be appreciated!
Martin
filter the contact items for these fields. Both fields are defined on the
folder level. guidparent is a textfield and any separated filter works.
contractback is a yes/no field and any attempt to filter for the fieldstatus
"no" failed.
My restriction is
strRestrict2 = "[contractback ]= 'No'"
ctlViewContacts.Restriction = strRestrict
The result is amazing. Outlook shows all Elements which are contractback
=Yes. I couldn't manage it that outlook shows me the desired result.
How would I corectly connect the restriction filter? Does this work?
strRestrict = "[guidparent] = '" & Item.UserProperties.Find("guid").Value &
"'" & " And ""[contractback ]= 'No'"
Any Help would be appreciated!
Martin