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_xpath()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XPATH()
Set default path for Btrieve data files

Syntax
N_XPATH([<cDataPath>])

Argument
<cDataPath> is the path (drive and directory) where RaSQL can find Btrieve 
data files.  Default is the current directory.

Returns
True

Remarks
If used, N_XPATH(<cDataPath>) must be issued  before a table is opened.
You may specify only one path: it is not a search PATH, but rather a unique 
directory name.

When you issue N_XPATH, Btrieve will actually change to the specified 
directory making it the current directory.

To avoid this, explitly specify the full path name when opening a file, 
rather than using N_XPATH to switch to the directory.

Example
* Set default PATH
N_XPATH('H:\APPL\DATA')
N_XUSE('Patients ... )


See Also: N_XLOGIN()

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