You are here: Commands > Set with No Preference Equivalents > Set Table

Set Table

Sets the table ID or name to specify the primary table to be processed when more than one primary table is concurrently open. If the ID or name is not found then no action will be taken.

If you plan on having the same table open more than once, then it is best to open the table each time using a distinct table number. Otherwise, if SET TABLE references a table layout name, and more than one occurrence of the table layout is open, the most recently active version of the table layout will be selected from the list of open primary table layouts.

Note: For more information on opening multiple primary tables, see the Open command parameter TABLE n.

Command Mode Syntax

SET TABLE n

or

SET TABLE table-layout-name