If your procedure body is intended to process a set of records without user input, you must set it up in a repeated procedure of type Batch using one of the batch access methods for the main table.
You can select some or all of the records in a table for processing:
The batch/preview type is used to determine the direction of the search:
| Batch Access Method | Use for |
|---|---|
| First and onwards | Processing all the records in a table. If parent records were selected, all the selected records are processed, starting with the first record |
| Equal and onwards | Processing all the selected records starting from a specified record |
| Equal and backwards | Processing all the selected records starting from a specified record and working backwards |
| Last and backwards | Processing all records in the table, starting with the last and working backwards. If parent records were selected, all the selected records are processed starting with the last record |
For the Equal and onwards and Equal and backwards batch/preview type, you will need to add a procedure body that sets up the starting point for the search.