TableValue()

Returns saved or interpolated (calculated from 2 nearest saved) value of the specified PetroVisor reference table for current entity and specified time stamp option.

Returns saved or interpolated (calculated from 2 nearest saved) value of the specified PetroVisor reference table for current entity and specified time stamp option.

Syntax

TableValue(string referenceTable, key, string keyUnitName, string valueUnitName, 
string timeStampOption)

Examples

TableValue("reference table", 33.3, "Pa", "m", "Current") 
TableValue("reference table", 33.3, "Pa", "m", "Last")
TableValue("reference table", 33.3, "Pa", "m", "None")

Returns saved or interpolated (calculated from 2 nearest saved) value of the specified PetroVisor reference table for current entity and specified time stamp.

Syntax

TableValue(string referenceTable, key, string keyUnitName, string valueUnitName, 
date/time timestamp)

Examples

 TableValue("reference table", 33.3, "Pa", "m", #01/21/2004#)

Returns saved or interpolated (calculated from 2 nearest saved) value of the specified PetroVisor reference table for specified entity and specified time stamp option.

Syntax

TableValue(string referenceTable, key, string keyUnitName, string valueUnitName, 
string entityName, string timeStampOption)

Examples

TableValue("reference table", 33.3, "Pa", "m", "Well L", "Current") 
TableValue("reference table", 33.3, "Pa", "m", "Well L", "Last")
TableValue("reference table", 33.3, "Pa", "m", "Well K", "None")

Returns saved or interpolated (calculated from 2 nearest saved) value of the specified PetroVisor reference table for specified entity and specified time stamp.

Syntax

TableValue(string referenceTable, key, string keyUnitName, 
string valueUnitName, string entityName, date/time timestamp)

Examples

 TableValue("reference table", 33.3, "Pa", "m", "Well K", #04/25/2007#)