GOTO()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to position record pointer in the specified work area

Syntax

GOTO(<workarea | alias>, <expN>)

See Also

ALIAS(), GOTO, KEYMATCH(), LOOKUP(), RECNO(), RLOOKUP(), SEEK()

Description

The GOTO() function positions the record pointer in the specified <workarea | alias> and returns a .T. if successful. The <expN> is the record number you wish to move the record pointer to.

Example

Name = IIF(GOTO(supplier, RECNO()), suppliers->name, "??????")