UpdateValue

Mon 01 January 2018

Syntax

UpdateValue(scrollpath, [recordname.]fieldname, target_row, value)

where scrollpath is:

[RECORD.level1_recname, level1_row, [RECORD.level2_recname, level2_row, ]] 

To prevent ambiguous references, you can use SCROLL. scrollname , where scrollname is the same as the scroll level’s primary record name.

Description

Use the UpdateValue function to update the value of a specified field with the value provided. The value must be of a data type compatible with the field .

Note: This function remains for backward compatibility only. Use the Value field property instead.

Parameters

Field or Control

Definition

Scrollpath

A construction that specifies a scroll level in the component buffer.

target_row

An integer specifying the row of the field to update.

[ recordname . ] fieldname

The name of the field that you want to update. The field can be on scroll level one, two, or three of the active page. The recordname prefix is required if the call to UpdateValue is not on the record definition recordname .

Value

The new value to put into the target field.

Returns

None.