DBFCDX

Moderator: Rathinagiri

Post Reply
manoharmaski
Posts: 2
Joined: Sat Jul 17, 2010 2:54 pm

DBFCDX

Post by manoharmaski » Sat Aug 21, 2010 4:58 am

hi all

Can any one pl explain
REQUEST DBFCDX, DBFFPT
RDDSETDEFAULT( "DBFCDX" )
as is in CONTACTOS folder in HMG SAMPLES

Thanks in advnace
MANOHAR

User avatar
esgici
Posts: 4363
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 246 times
Been thanked: 91 times
Contact:

Post by esgici » Sat Aug 21, 2010 12:49 pm

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 :D

Regards

--

Esgici
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Sat Aug 21, 2010 3:03 pm

Thanks for your explanation Esgici.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply