Desktop User Guides > Professional > Table scripting > Working with the Variables interface
 
Working with the Variables interface
The creation of new variables has been simplified and variable lists can now be configured in script. The configuration of variable lists in script is similar to functionality that is available in the Tables Object Model (TOM) for table grouping. For more information, see Table Object Model reference.
Dataset Variables object
The variables list functionality is accessible through a Variables property on the DataSet object. The design of the Variables object is based on the design of the Grouped Tables object. When accessed, the Variables list is populated based on the Metadata Services ChangeTracker routing (see Metadata Services Object Model reference). If the routing does not exist, it is added and populated based on the metadata order.
Variables that are added via TOM.DataSet.Variables are persisted in a .dms script, in the output .mdd, but are not persisted in an .mrs script.
See also
Organizing questions with the variables interface
Table scripting