If you have a table tagged with data from a Salesforce table, it is possible to create a script that defines the data from which rows (line items), appears in the output.
For example, you can define a script for any of the following:
Range 0-1 Only data from the row appears in the output
Range 2-2 Only data from the 2nd row appears in the output
Range 2-3 Only data from the 2nd and 3rd rows appears in the output
Range 4-L Only data from the 4th to the last row (unlimited number) appears in the output.
To add a table tag script for setting a row range:
1. In the Data Tags/Form pane, right-click the parent Table tag and in the menu, select Table Properties; the Table Properties window appears.
2. In the Table Properties window click New; the Script Editor appears.
3. In the Script Editor, in Statements, you can double-click Comment and add a description of the script.
4. Double-click If to begin the script logic. See Script Line Editor.