Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xdefext()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XDEFEXT()
Set the default file type

Syntax
N_XDEFEXT([<cFiletype>])

RDD Syntax
SET DEFAULT FILETYPE TO <cFiletype>

Argument
<cFiletype> is the default file type. The filetype can be specified with or 
without the leading '.'. If omitted, one is assumed. At program startup, the 
default is .DTA, which is a fairly common file type.

Returns
N_XDEFEXT() with no parameters returns the current type including the 
leading '.'.

Remarks
Btrieve does not have any default filetype for data files (like .DBF for 
DBFNTX). This command directs RaSQL to use the specified filetype if one is 
omitted. This affects functions that open or create Btrieve files.

See the RQB.CH header file included on the disk for the definition.

Example
SET DEFAULT FILETYPE TO '.BDF'
SET RDD TO 'RQBRDD'
COPY TO TEMP                // Creates TEMP.DBF
SET RDD TO

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