[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FOUND()

    FOUND() returns a logical True (.T.) if the previous FIND, SEEK, LOCATE
    or CONTINUE was successful.

Syntax

    FOUND()

Returns

    A logical value.

    FOUND() returns true (.T.) if the last search command was successful.

    Each work area has a FOUND() flag.  This means that if one work area
    has a RELATION SET to a child work area, querying FOUND() in the child
    work area returns true (.T.) if there is a key value matching the
    current linking value from the parent.

    Note that all commands other than search commands update FOUND() to
    false (.F.).  This means that SKIP cannot be used with FOUND().

Usage

    FOUND() is useful for determining whether a search of a database file
    is successful before performing the next step in a program.

See Also: SEEK LOCATE SET RELATION SET SOFTSEEK EOF
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson