manoharmaski wrote:hi all
Can any one pl explain
REQUEST DBFCDX, DBFFPT
RDDSETDEFAULT( "DBFCDX" )
as is in CONTACTOS folder in HMG SAMPLES
Thanks in advnace
MANOHAR
Hello MANOHAR
RDD : Stand for
Replaceable
Database
Driver. This drivers gives possility for use database system other than native dBase / Clipper system.
Each driver has own unique name :
DBFNTX : native dBase / Clipper system
DBFCDX : Compact index system (FoxBase)
DBFFPT : FoxPro style memo file
...
REQUEST is a declaration statement that defines a list of module identifiers to the linker. Like all other declaration statements, a REQUEST statement must be specified before any executable statements in either the program file, or a procedure or user-defined function definition.
REQUEST DBFCDX, DBFFPT : is an instruction to linker for include FoxPro database drivers module into this application.
RDDSETDEFAULT() is an RDD function that sets or returns the name of the previous default RDD driver and, optionally, sets the current driver to the new RDD driver specified by cNewDefaultRDD. If <cNewDefaultDriver> is not specified, the current default driver name is returned and continues to be the current default driver.
RDDSETDEFAULT( "DBFCDX" ) : Means : unless explicitly specified, use FoxPro database and indexing system for all database related prosess ( USE, SET INDEX, INDEX ON, and so on. )
Happy HMG'ing
Regards
--
Esgici