Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Creating wizards for UNICOM Intelligence Reporter > Tables Object Model support for wizards
 
Tables Object Model support for wizards
Wizards can use all of the Tables Object Model capabilities because the target_mtd is a live, in-memory document. Temporary changes to the target_mtd must be removed before the wizard completes to ensure the changes are not made visible to the user.
For example, the Band numeric by percentile wizard creates a temporary table to calculate the percentile ranges and then removes the temporary table. The QueryDataToArray method has been added to the TableDocument.Coding object to support wizard access to the data. The Band date wizard uses this method to retrieve the minimum and maximum dates in the case data to be used in date banding.
For more information about adding variables, see:
Working with the Variables interface
Working with Change Tracker
If new tables are required, the tables should be added to the IDocument.Tables Tables collection. The IDocument.GroupedTables property can be used to group tables.
See
Object model (IDocument.Tables and IDocument.Grouped Tables)
See also
Creating wizards for UNICOM Intelligence Reporter