GOTO()

From Recital Documentation Wiki
Revision as of 16:16, 2 December 2009 by Helengeorge (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(), CREATE, GOTO, KEYMATCH(), LOOKUP(), MODIFY STRUCTURE, RECNO(), RLOOKUP(), SEEK()


Description

The GOTO() function positions the record pointer in the specified <workarea | alias> and returns a .T. if successful. This function is most useful in the Applications Data Dictionary where it can provide an additional link to another data file whenever needed. The <expN> is the record number you wish to move the record pointer to.


Example

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


Products

Recital Server, Recital