SEEK()

From Recital Documentation Wiki
Revision as of 16:07, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SEEK()

Class

Indexing


Purpose

Function to verify presence of an index key


Syntax

SEEK(<key expression> [,<workarea | alias> [,<exp>]])


See Also

SEEK, FIND, LOCATE, RLOOKUP(), LOOKUP()


Description

The SEEK() function returns .T. if the specified index <key expression> has been found in the master index of the current workarea or the optionally specified <workarea | alias>. If the optional order parameter <exp> is specified, that index will be searched instead of the master index.


Example

use accounts in 1
use supp in 2 index name
select 1
display name
BCD CORPORATION
? iif(seek(name,supp),supp_name,"***name not on file***")
BCD CORPORATION


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer