To choose a field in another table, choose the table from the tables list above the list of fields. (You can also choose
Manage Database to create a relationship or a table.) Then select a field from the list of fields.
You can also click the Manage button

to choose a field from the current or a related table, if the button is visible.
You can also click Specify to create a formula to calculate the repetition.
In the following example, you create a script step that inserts text in a repetition based on the day. You have a database that has a date field with seven repetitions. Each repetition represents a day of the week starting from Sunday. If you run the script on a Wednesday, the calculation returns 4 and the text is inserted in the fourth repetition.