Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Page class > Methods

getCurrentRecord

Scroll Prev Next More

 

Gets the current record. Available on Edit/View pages.

 

Note: this function will only return data if key column is selected for the table in question.

Syntax

getCurrentRecord()

Arguments

No arguments.

Return value

Returns the array.

Example

Get the current record and display the values of the Make and Model fields:

 

set data = pageObject.getCurrentRecord()
response.write data("Make") & " " & data("Model")

See also:

RunnerPage class: getMasterRecord()

JavaScript API: RunnerPage object > getSelectedRecordKeys()

About RunnerPage class