Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

DICTFIND( cAlias [, cFname ] )

Purpose

Find a dictionary entry by alias, dbf name, or both. If either is passed
with '@', DICTFIND() fills it in if the entry is found.

Arguments

     cAlias -- alias of entry to find

     cFname -- if passed, dbf name or var to store it in

Setup

A standard application dictionary file is open and ready for use.

Example

     CHK_DICT( "AAI_DICT" )

     * This sequence would find cAlias and fill in cFname:
     LOCAL alias := "CUSTOMER", fname := ""
     DICTFIND( alias, @fname )
     ? alias, fname

     * Find cFname and fill in cAlias:
     alias := "", fname := "AAI_HELP"
     DICTFIND( @alias, fname )
     ? alias, fname

Returns

.T. if found, else .F.

Side Effects

If successful, points DICT at object, fills in @params. The current alias
is saved and restored.

Artful Calls

POP_MSG

Source Files

AA_DICT.PRG, AM_DICT.PRG

See Also: CHK_DICT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson