get

Object dataRecord.get ( Object key )

Description

Get the value of a DataRecord field.

Parameters

  • key The name of the associative key, usually a string but, if you have manually added fields, it can be an integer, etc.

Return Values

Returns the value associated with the specified key. Usually it will be a string but, if you have manually added fields, it can be an integer, boolean, long, or other object.

Change Log

Version Description
4.5 Available for all editions.

Examples

Retrieve DataRecord Information

 // Gets the value of the "CITY" field
 // and outputs it to the log.

 city = dataRecord.get( "CITY" );
 session.log( "City: " + city );