Previous Topic: @READY ExampleNext Topic: @RETURN Syntax


@RETURN

The @RETURN statement retrieves the database key for an indexed record without retrieving the record itself, thus establishing currency in the index set. The record's symbolic key is moved into the data fields within the record in program variable storage. The contents of all non-key fields after the execution of the @RETURN verb are unpredictable. Alternatively, you can have the record's symbolic key moved into some other specified variable storage location.

Index currency is established by:

The @RETURN statement is used in both navigational and LRF environments.