Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

User search and 'Show all' checkbox status

edited August 2002 in RAP
Hi,

How do I find out using RAP if a user has selected the 'Show all'
cechkbox in the search dialog. I've looked at the help file describing
TppAutosearchfield, but couldn't find an obvious field.
At the moment I am using
Report.AutoSearchFields[0].SearchExpression, but this can contain a
value even though the user uses the 'Show all'

regards
Paul Sjoerdsma

Comments

  • edited August 2002
    Yes, check this on the autosearch field objects in the OnGetAutoSearchValues
    event of the report: It should have a ShowAllValues property that you can
    check, just like SearchExpression. For RAP, the ShowAllValues property is
    not surfaced. You will have to write a RAP pass through function to access
    this property of TppAutosearchField. There are examples of creating RAP
    pass through functions in your RBuilder\Demos\RAP directory.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.