An item's value.

Usage

Set_Property(OLECtrlEntID, "OLE.ItemValue[col; record]", Boolean)

Values

Text can contain anything.

Default: ""

Indices

IndexDescription
colThe index to a column in the report table
recordThe index to a record in the report table

Remarks

The ItemValue property returns the item's value, which is determined by the column's ColumnDataSource setting. If the data source is Text, then this property is the same as the ItemText property. If the data source is CheckBox, then this property is the same as the ItemChecked property. If the data source is Both, then this property is the check box value, followed by the text value, @FM delimited.

Just like the SRP EditTable Control, you must separate the column and record index by a semicolon, not a comma.

Example

// Get an item's value 
Value = Get_Property(@Window:".OLE_REPORTTABLE", "OLE.ItemValue[2;1]") 

// Set an item (whose data source is Both) in record 10, column 3 
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ItemValue[3;10]", 1:@FM:"Hello, World.")

See Also

ItemCheckedItemText

  • No labels