Difference between revisions of "LOOKUP()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[RLOOKUP()]], [[SEEK()]], [[SET RELATION]] | + | [[KEYLOOKUP()]], [[RLOOKUP()]], [[SEEK()]], [[SET RELATION]] |
==Description== | ==Description== | ||
Line 21: | Line 21: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Search Functions]] |
Latest revision as of 11:58, 7 December 2012
Contents
Purpose
Function to perform a cross-table lookup
Syntax
LOOKUP(<exp>, <key expression>, <workarea | alias>)
See Also
KEYLOOKUP(), RLOOKUP(), SEEK(), SET RELATION
Description
The LOOKUP() function looks up the specified index <key expression> in the master index of specified <workarea | alias>. The LOOKUP() function then evaluates the expression <exp>, and returns the value of the <exp> if the <key expression> is found. The LOOKUP() function returns a null string if the <key expression> is not found.
Example
use depts in 2 index dnum use funcs in 1 index funcno ? lookup(depts->dname,funcs->dnum,depts) Research and Development