Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>ddindex()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ddIndex()
Rebuilds the dbDD indexes
------------------------------------------------------------------------------
Syntax:

     ddIndex( [<nNtxMode>] ) --> lSuccess

Parameters:

     <nNtxMode> Restore mode. If not specified, a screen will be presented
     in which the user is asked to choose a mode.
     #include "dfIndex.ch"
     +---------------------------------------------------+
     | Index Mode  | # | Description                     |
     |-------------+---+---------------------------------|
     | IDX_CHECK   | 0 | DATABASE check                  |
     | IDX_REINDEX | 1 | restores INDEXES                |
     | IDX_CHOICE  | 2 | Lists INDEXES to be restored    |
     | IDX_SYSTEM  | 3 | Restores system INDEXES         |
     +---------------------------------------------------+

Returns:

     <lSuccess> Is .T. if the operation was correctly executed

Description:

     Restores the indexes of dbDD files.

Example:

     ddIndex( IDX_CHECK ) // The database is checked
                          // and the indexes are restored
                          // when this is needed

See also:

     ddUse()

See Also: ddUse()

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