How can i put a limit to generate a page. on the rave reports?
let say the user selected all data to print and it will generate a 1,000+ pages.
but i wanted to limit it to 100 pages only is that possible?
How can i put a limit to generate a page. on the rave reports?
let say the user selected all data to print and it will generate a 1,000+ pages.
but i wanted to limit it to 100 pages only is that possible?
Right now you have something like this on the Delphi side:
txtQuery := 'SELECT * FROM table WHERE date BETWEEN "2001-01-01" AND "2013-01-01"';
query.SQL.text := txtQuery; //This being the Component assigned to your TRvDataSetConnection
prjRave.execute;
You should add something like this to your txtQuery:
txtQuery := 'SELECT * FROM table WHERE date BETWEEN "2001-01-01" AND "2013-01-01" LIMIT 500';
That way, no matter how much data is requested by your user, you get a maximum of 500 rows on your Rave Report.