Bt_Path() Function
<< Click to Display Table of Contents >>
Bt_Path() Function
|
|
Purpose
Get/Set default path for Btrieve data files
Prototype
FUNCTION Bt_Path ( cDataPath ) AS STRING
Argument(s)
<cDataPath> | Is the path (drive and directory) to where Btrieve data files are found, if not the current directory. If files are in the current directory, BT_PATH("") may be specified, or omitted entirely. |
Return
STRING | Old Datapath |
Description
BT_PATH(<cDataPath>) must be issued before the first table is opened. Only one path can be provided: it is not a search PATH, but rather a unique directory name.
Example(s)
* Set default PATH
BT_PATH('H:')
oServer := BtDDFServer,"patients"
See Also