Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - deldbfmdx() resets the mdx file existence at a dbfmdx dbf file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DelDbfMdx()            Resets the MDX file existence at a DBFMDX Dbf file
--------------------------------------------------------------------------------

   Syntax:              DelDbfMdx( <cDbfFileName> )  --> <lSuccess>

   Parameters:

   <cDbfFileName>       The name of the DBF file to reset its MDX flag.

   Returns:

   <lSuccess>           A logical value indicating if the operation
                        was successful.

   Observations:        This function has been created to be able to
                        reindex from scratch a MDX file (as a MDX index
                        would never be reindexed as it gets corrupted!).

                        The steps to follow are:

                        1. Close the DBF file.
                        2. Erase the MDX file.
                        3. Call DelDbfMdx( <cDbfFileName> )
                        4. Open the DBF file in anormal way.
                        5. Index it.

   Source code:         SOURCE\\FUNCTION\\NtxTools.c

   See also:            cNtxPos() cNtxKey()


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