Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Drivers Guide - <b>using the dbfndx database driver</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Using the DBFNDX Database Driver
------------------------------------------------------------------------------

     To use (.ndx) files in a CA-Clipper program:

     1. Place a REQUEST DBFNDX at the beginning of your application or at the
        top of the first program file (.prg) that opens a database file using
        the DBFNDX driver.

     2. Specify the VIA "DBFNDX" clause if you open the database file with
        the USE command.

        -OR-

     3. Specify "DBFNDX" for the <cDriver> argument if you open the database
        file with the DBUSEAREA() function.

        -OR-

     4. Use RDDSETDEFAULT("DBFNDX") to set the default driver to DBFNDX.

        Except in the case of REQUEST, the RDD name must be a literal
        character string or a variable.  In all cases it is important that
        the driver name be spelled correctly.

     The following program fragments illustrate:

     REQUEST DBFNDX
     .
     .
     .
     USE Customers INDEX Name, Address NEW VIA "DBFNDX"

     -OR-

     REQUEST DBFNDX
     RDDSETDEFAULT( "DBFNDX" )
     .
     .
     .
     USE Customers INDEX Name, Address NEW


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