I need to know how I can set the amount of records to print....For example If I have 50 records in a query and I need to show only 20.....How can I do that? Thanks a lot
You can control the amount of records shown in a report in a few ways.
1. Use the TppDataPipeline.RangeBegin and TppDataPipeline.RangeEnd properties. Set the RangeEnd property to reCount and then set the RangeEndCount property to the amount of records you would like shown.
2. Use the TppDetailBand.PrintCount property. This will only print that amount of detail bands, essentially only printing that given amount of records connected to your report.
3. Use autosearch to filter your dataset before it is sent to the report if you need to only print certain records out of order. See the autosearch demos located in the \RBuilder\Demos\5. AutoSearch\... directory.
Comments
You can control the amount of records shown in a report in a few ways.
1. Use the TppDataPipeline.RangeBegin and TppDataPipeline.RangeEnd
properties. Set the RangeEnd property to reCount and then set the
RangeEndCount property to the amount of records you would like shown.
2. Use the TppDetailBand.PrintCount property. This will only print that
amount of detail bands, essentially only printing that given amount of
records connected to your report.
3. Use autosearch to filter your dataset before it is sent to the report if
you need to only print certain records out of order. See the autosearch
demos located in the \RBuilder\Demos\5. AutoSearch\... directory.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com