Revision as of 12:26, 15 December 2008
The start and count parameters to some NATS and CARMA functions lets you spread output across multiple pages. We sometimes call this paging or pagination.
The start parameter hides records that come before its parameter. For example, in a 100-record list, start=0 shows all 100 records and start=75 shows that last 25 records. The count parameter sets the maximum number of records shown. For example, in a 100-record list, count=75 shows the first 75 records and count=125 shows all 100 records.
You can combine the start and count parameters to display a fixed number of records on each page. For example, you can display a 100 record list on four pages using the following combinations:
Page
|
start
|
count
|
1
|
0
|
25
|
2
|
26
|
25
|
3
|
51
|
25
|
4
|
76
|
25
|