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 dbfcdx database driver</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Using the DBFCDX Database Driver
------------------------------------------------------------------------------

     To use FoxPro 2 files in a CA-Clipper  program:

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

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

        -OR-

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

        -OR-

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

        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 DBFCDX
     .
     .
     .
     USE Customers INDEX Name, Address NEW VIA "DBFCDX"

     -OR-

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


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