GOTO()

From Lianjapedia
Revision as of 10:52, 4 February 2013 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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, "??????")