GOTO()

From Recital Documentation Wiki
Revision as of 13:41, 23 March 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Class

Fields and Records


Purpose

Function to position record pointer in the specified work area


Syntax

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


See Also

CREATE, GOTO, LOOKUP(), MODIFY STRUCTURE, RLOOKUP()


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 Database Server, Recital Mirage Server, Recital Terminal Developer