Difference between revisions of "The count and start Parameters"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) |
||
Line 52: | Line 52: | ||
[[Category:Also NATS4 Article]] | [[Category:Also NATS4 Article]] | ||
+ | [[Category:Common Parameters]] |
Latest revision as of 15:06, 31 May 2011
NATS 3
|
---|
CARMA
|
---|
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 |