Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Setting the ColumnData property is just like setting the ARRAY property. For example, if you intend to set 3 columns, then you need to pass three columns worth of data. You may observe then that using the "All" index is equivalent to using the Array property. Unlike the Array property however, this property does not add or remove records when being set.

If there is less data than columns being set, then the remaining cells become blank. If there is more data then columns being set, then the extra data is ignored.

Example

Code Block
 // Read the 1st column 
Data = Get_Property(@Window:".OLE_EDITTABLE", "OLE.ColumnData[1]") 

 // Set columns 3 through 5 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.ColumnData[3-5]", Data)

See Also

RecordDataARRAY