Develop > Programming > System Language reference > List: rtecalls > rtecall("refresh") function

rtecall("refresh") function

This function retrieves the most current value of a record from the database and returns it in the file variable.

Function

rtecall("refresh")

Format

$L.success.flg=rtecall("refresh", $L.errcode, $L.file)
Parameters

The following parameters are valid for the rtecall("refresh") function:

Variable/Value Description
$L.errcode = 0 The function succeeded.
$L.errcode = 1 The $L.file does not represent a file variable.
$L.file The file variable initialized by the rinit command panel. It contains the current record.

Factors

If the $L.success.flg is false, the function failed. It is true, the function succeeded.

Example

$L.success.flg = rtecall( "refresh", $L.errcode, $L.file )