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_xfstruct()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XFSTRUCT()
Returns file structure string from XTRIEVE table

Syntax
N_XFSTRUCT(<cXtrieveTable>)

RDD Option
Not needed for RDD if the program is linked with ALT_RQB.PRG, since RaSQL  
then will automatically search the XTRIEVE DDF files.

Returns
Returns the structure string, suitable for use in N_XUSE() or USE 
DEFINITION, of the specified XTRIEVE table.

Remarks
XTRIEVE DDF files must be in the current directory or in the directory 
specified with N_XPATH().

Source code is in SNIPPETS.PRG.

Example

cStruct := N_XFSTRUCT("patients")
cFile := N_XFMAP("patients")  // file name
N_XUSE(cFile, cStruct)
   -or-
USE (cFile) VIA "RQBRDD" DEFINITION cStruct


See Also: N_XDSTRUCT() N_XFMAP() N_XUSE()

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