Access data within the current document.
Syntax
data.<data item name>[<rowindex>].<columnname>
Where the <rowindex> selects a particular row in the data, and <columnname> selects a particular column. You can omit the row specification, and it will default to the first row in the table.
Examples
data.companysales.value // returns the value in the 'value' column from the default first row in the companysales data item.
data.companysales[5].description // refers to the 6th row (indexed from 0 don't forget), returning the 'description' column value for that row.
function setStringToName()
{
object.text=data.mypeople[0].surname;
}
Remarks
See Also


