Support 2

    The second snippet of code is what you are probably after. The first one is included for good measure.

    1. Create a filter to return messages which have any value in the custom field 'Advansys Category'.

    Call GroupWise.FilterSetText(hFilter, 331, "**", matSubText, "Advansys Category","")

    2. Read the 'Advansys Category' custom field value from a selected message.

    on error resume next
    Set Msg = Client.ClientState.CommandMessage
    set FieldOut = Msg.Fields.Item("Advansys Category", fgwString)
    msgbox (FieldOut.Value)
    set FieldOut = nothing
    set Msg = nothing

    We hope this helps. Please let us know if you need further assistance.


    Advansys Support