AutoSearch using ppTextpipeline
Hi,
is it possible to use autosearch fields in conjunction with a pptextpipeline
and if so could you provide a small example ?
regards
Glenn
is it possible to use autosearch fields in conjunction with a pptextpipeline
and if so could you provide a small example ?
regards
Glenn
This discussion has been closed.
Comments
1. AutoSearchFields can be defined for any report.
2. The Report.OnGetAutoSearchFieldValues event fires after the user has
specified the search values. This event is typically used to apply the
values to the SQL where clause of a query or a Filter expression for a
table. For examples see RBuilder\Demos\AutoSearch.
3. The DataPipeline classes do not have the ability to filter or sort data.
I would approach this in one of two ways.
a. It is possible to implement datapipeline event-handlers to skip rows. For
an example, see demo 116 (dm0116.pas) in RBuilder\Demos\Reports\Demo.dpr
b. Usean in memory dataset such as a ClientDataSet or kbmMemTable (an add-on
product) to load the text file data and then filter it using the dataset's
filter.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com