[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson