/ Forums / Advansys Formativ / Creating Solutions with Formativ / CurrentItem.To_ and CurrentItem.Sender not working for me / Reply To: CurrentItem.To_ and CurrentItem.Sender not working for me

Support 1a

    It sounds like you might be confusing the CurrentItem object with the native GroupWise Message object. The CurrentItem.To_ and CurrentItem.Sender properties are properties of the CurrentItem object. The CurrentItem property is accessed via:

    Set iMessage = GroupWise.ComposingItem

    This is only valid if the currently selected item is being composed.

    On the other hand, the native GroupWise Message object, which is used to access messages that already exist in the message store (99% of messages you deal with) is different. It doesn’t have a .To_ property, for example. This would explain the error about an unsupported property.

    The properties available to you when using a Message object are documented here. Don’t forget to look at any message type specific subclass on the same site for message specific properties and methods.

    I hope this helps.

    Advansys Support