Open a table
──────────────────────────────────────────────────────────────────────────────

Syntax

GT_UseDbf( cDbf , aIndex , cAlias , lPack , lReindex , ;
lExclusive , nTimeOut , lFatal , cDefaultPath )

Arguments:

cDbf - Database to open
aIndex - Index to open
cAlias - Alias to use
lPack - If .T. we pack the database
lReindex - If .T. we reindex the database
lExclusive - If .T. open exclusive
nTimeOut - Number of seconds to retry for
lFatal - If .T. generate a fatal error on failure
cDefaultPath - Path to data files

Returns:

.T. if successful
.F. otherwise

Description:

Opens the table in the required mode. If it fails, has nTimeOut
retries.
When the table is opened, the indexes are opened, and the table
will hten be packed or reindexed is required.

Examples:



Header File: GT_LIB.CH

Source: USEDBF.PRG

Author: Martin Colloby