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_xmakedbf()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XMAKEDBF()
Create extendedstructure DBF from current table

Syntax
N_XMAKEDBF(<cFilespec> [, <nMode>])

RDD Option
Use COPY STRUCTURE EXTENDED

Arguments
<cFilespec> is the filename for the new extendedstructure DBF.

<nMode> optionally specifies a creation mode. Zero is the default.

       Mode             Action
          0              Store complete file definition including field and 
                         index definitions. (Default)
          1              Store only field definitions (that is, omit index 
                         definitions).
          2              Create empty extended structure file only.

Returns
True if successful. False on failure. Use N_XERROR() to get an error code.

Remarks
RaSQL places the structure of the current table into a modified 
extendedstructure file. It is similar in concept to the Clipper command: 
COPY STRUCTURE EXTENDED.

The structure of the file is the same as that used by N_XMAKETBL(). The file 
RASQL.DBF, included on the RaSQL/B disk, contains the necessary structure.

The resulting extendedstructure file contains information on data fields and 
indexes. It is suitable for use as input into N_XMAKETBL().

Examples
* Duplicate PATIENTS table
N_XUSE('patients.dta', ...
* Put definition into TEMP.DBF
N_XMAKEDBF('temp.dbf')


See Also: N_XMAKETBL()

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