Difference between revisions of "GOTO()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Class==
 
==Class==
Fields and Records
+
Table Basics
  
  
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[CREATE]], [[GOTO]], [[LOOKUP()]], [[MODIFY STRUCTURE]], [[RLOOKUP()]]
+
[[ALIAS()]], [[CREATE]], [[GOTO]], [[KEYMATCH()]], [[LOOKUP()]], [[MODIFY STRUCTURE]], [[RECNO()]], [[RLOOKUP()]], [[SEEK()]]
  
  
Line 29: Line 29:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Table Basics]]
 +
[[Category:Table Basics Functions]]

Revision as of 12:07, 9 June 2009

Class

Table Basics


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