Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to show different no of records on pages?

Status
Not open for further replies.

nomi2000

ISP
Feb 15, 2001
676
0
0
CA
Hi Guys
I have a question
on page 1 i want to show the first 20 records
on page 2 i want to show next 25 records and so after that 25 records on every page
Can i do this?
Reagrds
Nouman

Nouman Zaheer
Software Engineer
MSR
 
Create two formulas:

//{@reset} to be placed in the page header:
whileprintingrecords;
numbervar linecnt := 0;

//{@linecnt} to be placed in the details section:
whileprintingrecords;
numbervar linecnt := linecnt + 1;

Then go to the section expert (format->section)->details->new page after->x+2 and enter:

if pagenumber = 1 then
{@linecnt} = 20 else
{@linecnt} = 25

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top