Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>open a table</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Open a table
------------------------------------------------------------------------------

 Syntax

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

 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

 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

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