The entire data contents of the table by field then record.

Usage

Set_Property(OLECtrlEntID, "OLE.ARRAY", StringValue)

Values

StringValue can be any string meeting the following format requirements:

Syntax: Two-dimensional array @FM-delimited then @VM-delimited

Default: ""

Remarks

The ARRAY property emulates the OI equivalent ARRAY property. Fields are @FM-delimited and records are @VM-delimited.

When getting this property, all data cells are returned in a two-dimensional dynamic array. Only data cells return data, so header cell contents are ignored.

When setting this property, the table's current contents are cleared and replaced by the new data in the array. The number of records are altered to fit the new contents exactly.

Since there is also a ARRAY property in OI, be sure to use the "OLE." prefix to ensure that you are using the OLE property and not the OI property.

Example

// Read the two dimensional data array 
Data = Get_Property(@Window:".OLE_EDITTABLE", "OLE.ARRAY")

See Also

LIST

  • No labels