Adams Basic Package > Adams View > View Command Language > interface > interface data_table remove column

interface data_table remove column

Allows you to delete column in a data table field
The data table is similar to a excel workbook where a categorized data can be stored as array, locating each item by its row and column index. The data table can be created on a dialog box and the data is displayed using this command. This command is used to remove any column of the data table.

Format:

 
interface data_table remove column
data_table_name =
An Existing GI_data_table
range =
Integer
column_indices =
Integer
use_column_selected =
True_only

Example:

 
interface data_table remove column &
data_table_name =
dtable &
range =
3,4

Description:

 
Parameter
Value Type
Description
data_table _name
An Existing GI_data_table
Specifies the name of an existing data table
range
Integer
Specifies the range of columns to be removed
column_indices
Integer
Specifies the index of the column to be removed
use_column_selected
True_only
Specifies the selected column to be removed

Extended Definition:

1. Any number of columns can be removed either by selecting range or index of the column or by selecting the column itself. Anyone of the parameters namely, 1) ‘range’, 2) column_indices, and, 3) use selected column can be used to indicate the column to be removed. If the range is specified 2-7, the value from 2 through 7 of the column index are selected to be removed. It set NONE for not removing any column

Tips:

The parameters namely, 1) ‘range’, 2) column_indices, and, 3) use selected column are mutually exclusive to each other.