setCommonFormatData (DataTable)

Syntax

<Path>.setCommonFormatData(FormatData:table [,Column:any])
<Path>.setCommonFormatData(FormatData:list [,Column:any])

The method setCommonFormatData sets the format data of the subtables contained in columns of data type List/Table for which you activated common format. This applies to the DataTable designated by <Path>.

Parameters

  • The parameter FormatData of data type table designates the table which contains the desired formatting for the subtables.

    The parameter FormatData of data type list designates the list which contains the desired formatting for the sublists.

  • The optional parameter Column of data type any designates the column of the table designated by <Path>. The data type of the column has to be List/Table and common format has to be activated. If you do not specify this parameter, the common format data will be set for the first column.

Example

MySourceTable.setCommonFormatData(DataTable,2)

Related Topics

getCommonFormatData

Common format