[<<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


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson