Home Component Writing
New Blog Post: Email: Multi-Service

TppAutoSearchField

edited September 2004 in Component Writing
Hi,

I'd like to know number of AutoSearchFields, cause I need to access at
values when I have a IN LIST operator.

When we have an EQUAL operator, to access at value of filter this code and
it's ok, but when we have a IN LIST....???? Anyone can help me?

Report.AutoSearchCriteriaByName(Report.DataPipeline.Name,'ID').Values[0]


Thanks

Mois?s

Comments

  • edited September 2004

    Not sure that I understand the question.

    The Report.AutoSearchFields[] array and AutoSearchFieldCount property can be
    used to iterate over the TppAutoSearchAutoSearchField objects.

    When using the 'InList' operator, there is only one TppAutoSearchField
    object. The TppAutoSearchField.SearchExpression property will contain a
    comma-delimited list of the search values entered by the user. The
    TppAutoSearchField.Values[] and ValueCount properties can be used to access
    the parsed SearchExpression as an array of Variants.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2004
    Thanks!!

    I needed to find ValueCount property!!

    Mois?s Romero

    mromero@delsys.net



This discussion has been closed.