Column indexes in the order they appear to the user.

Usage

StringValue = Get_Property(OLECtrlEntID, "OLE.ColumnOrder")

Values

StringValue can be any string meeting the following format requirements:

Syntax: @FM delimited array of columns

Remarks

The ColumnOrder property returns a dynamic array of column indexes in the order they appear to the user.

Once you've defined your columns via ColumnList, the indexes for each column are permanent. So, column 2 is always referenced as column 2 no matter its position. Column 2 might be at position 4 if the user moved it. Use this property to determine those user defined positions, or you can use ColumnPosition to get any single column's position.

Note that you cannot change column order using this property. The only way to move a column programmatically is to use the MoveColumn method.

Example

// Get the column order 
ColumnOrder = Get_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnOrder")

See Also

ColumnListColumnPositionMoveColumn

  • No labels