Difference between revisions of "GOTO()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to position record pointer in the specified work area
 
Function to position record pointer in the specified work area
 
  
 
==Syntax==
 
==Syntax==
 
GOTO(<workarea | alias>, <expN>)
 
GOTO(<workarea | alias>, <expN>)
 
  
 
==See Also==
 
==See Also==
[[ALIAS()]], [[CREATE]], [[GOTO]], [[KEYMATCH()]], [[LOOKUP()]], [[MODIFY STRUCTURE]], [[RECNO()]], [[RLOOKUP()]], [[SEEK()]]
+
[[ALIAS()]], [[GOTO]], [[KEYMATCH()]], [[LOOKUP()]], [[RECNO()]], [[RLOOKUP()]], [[SEEK()]]
 
+
  
 
==Description==
 
==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.
+
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==
 
==Example==
Line 20: Line 16:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Table Basics]]
 
[[Category:Table Basics]]
 
[[Category:Table Basics Functions]]
 
[[Category:Table Basics Functions]]

Revision as of 10:27, 9 February 2012

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, "??????")