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

DICTOPEN( cAlias[, cFilename [, lQuick ;
          [, lKillntxs ]]] )

Purpose

Open a table listed in the dictionary, by alias or by alias and filename.
In multi-user mode, uses the DICT field Exclusive to determine if the
file should be opened EXCLUSIVE or not. Supports path prefixes for table
names and index names as supplied by the dictionary fields Dbfpath and
Indexpath.

Arguments

     cAlias -- alias of table to open

     cFilename -- if passed, name of .DBF to open, else cAlias

     lQuick -- if passed and .T., skip integrity checks (ie. do not
                   call CHK_DBF())

     lKillntxs -- if passed and .T., unconditionally force index
                      remakes

Setup

Dictionary must be open. Normally you would call this function directly
only to open atable which has been checked by CHK_DICT() but left closed
because DICT->Open_it is false.

Example

     ? DICTOPEN( "CUSTOMER" )

Returns

.T. if successful, otherewise .F.

Side Effects

Opens the table, may remake indexes.

Artful Calls

DB_OPEN, DICTFIND, STRINT

Source Files

AA_DICT.PRG, AM_DICT.PRG

See Also: CHK_DICT() DB_OPEN()

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