Click or drag to resize

DbFileSpec Methods (Typed)

X#

The DbFileSpec type exposes the following members.

Functions
  NameDescription
Public methodCode exampleAppendToPath
Append a subdirectory to the end of this file specification's path.
(Inherited from FileSpec.)
Public methodCode exampleCopy(String, Logic)
Make a copy of the file represented by this file specification.
(Inherited from FileSpec.)
Public methodCode exampleCopy(FileSpec, Logic)
Make a copy of the file represented by this file specification.
(Inherited from FileSpec.)
Public methodCode exampleCopy(Usual, Usual, Usual)
Copies all files associated with DBFileSpec objects to a different drive and/or directory.
Public methodCode exampleCopyTo
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.
Public methodCode exampleCreate
Create a new DBF file with the given name, using a provided DBStruct array.
Public methodCode exampleDBFSGetInfo
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.
Public methodCode exampleDelete
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.)
Public methodError(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.)
Public methodError(Error, Symbol)
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.)
Public methodCode exampleFind
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.)
Public methodCode exampleMove(String, Logic)
Move the file represented by this file specification to a new location.
(Inherited from FileSpec.)
Public methodCode exampleMove(FileSpec, Logic)
Move the file represented by this file specification to a new location.
(Inherited from FileSpec.)
Public methodCode exampleMove(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.
Public methodCode examplePathUp
Remove the last subdirectory from the end of this file specification's path.
(Inherited from FileSpec.)
Public methodCode exampleRename(String, Logic)
Rename the file represented by this file specification.
(Inherited from FileSpec.)
Public methodCode exampleRename(Usual, Usual)
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.
Public methodCode exampleRename(FileSpec, Logic)
Rename the file represented by this file specification.
(Inherited from FileSpec.)
Top
See Also