COLUMNID Property (DATATABLE)


10.5, PLBCMP GUI Only

The COLUMNID property allows access to an identification string associated within an element of the Columns collection in a DATATABLE The property uses the following format:

COLUMNID={string}

Note the following:

  1. COLUMNID may be used with SETPROP or GETPROP statements for elements of the Columns collection or with the AddColumn method.

  2. The {string} is a Character String Variable or literal that specifies an identification name assigned to a column.

  3. The COLUMNID name may be used as a key when referencing a DATATABLE column in GETPROP and SETPROP statements.

Example:

 

DT DATATABLE

.

         CREATE DT

.

         DT.AddColumn USING *POS=0, *ID="ColName"

.

         SetProp DT.Columns("ColName"),ALIGNMENT=$CENTER

 

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions



PL/B Language Reference COLUMN ATTRIBUTES Property COLUMNS Property