DbFileSpec Methods |
The DbFileSpec type exposes the following members.
Name | Description | |
---|---|---|
AppendToPath |
Append a subdirectory to the end of this file specification's path.
(Inherited from FileSpec.) | |
Copy(Usual, Usual) |
Make a copy of the file represented by this file specification.
(Inherited from FileSpec.) | |
Copy(Usual, Usual, Usual) |
Copies all files associated with DBFileSpec objects to a different drive and/or directory.
| |
CopyTo |
Copies the DBFileSpec object's DBF file to another data format. This can be used for copying out to another RDD, to a delimited file, or to an SDF file.
| |
Create |
Create a new DBF file with the given name, using a provided DBStruct array.
| |
DBFSGetInfo |
Fills in the DBFileSpec object's instance variables. This method is not required when using the Find() method, which will invoke this method internally if the file is found.
| |
Delete |
Physically deletes all files that are associated with the DBFileSpec object, including memo files and any index files associated with the DBF through OrderSpec objects.
(Overrides Delete.) | |
Error |
Provide a method for handling error conditions raised during FileSpec processing. This is an event handler: it is automatically called by other methods; the developer does not normally need to call the error method, but might want to replace or amend it.
(Inherited from FileSpec.) | |
Find |
Locates the file defined in the DBFileSpec object using the current directory, SetDefault(), or SetPath(). Fills in the instance variables of the DBFileSpec if successful.
(Overrides Find.) | |
Move(Usual, Usual) |
Move the file represented by this file specification to a new location.
(Inherited from FileSpec.) | |
Move(Usual, Usual, Usual) |
Moves and/or renames all files associated with DBFileSpec objects to a different drive and/or directory. Updates DBFileSpec and/or OrderSpec instance variables. Will also rename auto-open index files. Only DBF, MEMO and auto-open index files will get renamed.
| |
PathUp |
Remove the last subdirectory from the end of this file specification's path.
(Inherited from FileSpec.) | |
Rename |
Renames files associated with DBFileSpec object. Only DBF/MEMO and auto-open index files will get renamed.
Rename() will not rename a file if it is already open or there is a file name conflict.
To rename files to another directory, use the Move() method and supply a different target file name.
(Overrides Rename(Usual, Usual).) |