Interface Tables

All Superinterfaces:
java.lang.Iterable<Table>

public interface Tables
extends java.lang.Iterable<Table>
The Tables interface acts as a parent object for all tables within a form, integration service or workflow process. Individual tables are accessed using their table name. When the name is not a valid Java identifier e.g. it begins with a numeric, the table can only be accessed using the getTable(String) method.

When running an event that forms part of a deployed component, only tables from the component can be accessed.

All included tables can be iterated using the following code:

 for ( var table in Iterator(tables.iterator()) )
 {
    log(table.elementName);
 }   
 
Examples:
 tables.TAB1.updateTable();
 var rows = tables.getTable("1TAB").fetchTable();
 
Since:
V4.4
  • Method Summary

    Modifier and Type Method Description
    Table getTable​(java.lang.String tableName)
    Returns the Table with name tableName.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • getTable

      Table getTable​(java.lang.String tableName)
      Returns the Table with name tableName.
      Since:
      V4.4