User search and 'Show all' checkbox status
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com