.joinedVal()

Previous Next

Gets the value of a joined column of the first record in the Rows object, if that record has a joined column.

Returns a string.

Syntax

.joinedVal( joined-column )

The required joined-column is a string that is the name of the joined column.

Function that returns the value of a joined column if it exists, of the first record.

 

Example

if ($.udb(this.dsId).isJoined()) {

 var col = $.udbMeta(this.dsId).cols(this.column).alias();

 return record.joinedVal(col) || "";

}