Using datasheet values in scripts

After you associate a datasheet with a script, you can edit the script to use data from the datasheet. When a script runs, it uses the values from the first datasheet row and repeats the script until all rows are used.

Note: The following steps apply to Keyword View and Text View.

1. Select the step that contains the data you want to replace with a datasheet value.

2. Choose Script > Edit Statement.

The Edit Statement dialog box opens.

3. Select Datasheet and select the datasheet column to use from the corresponding list.

Tip: To view the script and datasheet at the same time, right-click the script or datasheet tab in the Script pane and select New Horizontal Tab Group or New Vertical Tab Group.

4. Click OK.

The datasheet reference is added to the script step.

Note: You can use datasheet statements to navigate datasheets and perform tasks. For example, you can read and write values in database fields or delete database records. See Navigating datasheets.