DbServer.FileSpec Property | |
The FileSpec object that defines the path and file name of the DBF file.
Namespace:
VO
Assembly:
VORDDClasses (in VORDDClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY FileSpec AS USUAL GET
public virtual Usual FileSpec { get; }
Request Example
View SourceProperty Value
Type:
UsualThe FileSpec object that defines the path and file name of the DBF file.
Remarks
The FileSpec object that defines the path and file name of the DBF file. If the DBServer was originally instantiated with a FileSpec object, this is that original FileSpec object; if the server was originally instantiated with a file name in string format, a FileSpec object is created.
Note that the path of the file specification is exactly as originally entered. To store the full path of the file in the file specification, use the FileSpec:Find() method.
Examples
This example opens a data server using a FileSpec object, the retrieves information based on the server's FileSpec property:
1oFSSales := FileSpec{"c:\data\cust\sales.dbf"}
2oDBSales := DBServer{oFSSales}
3? oDBSales:FileSpec:Drive
4? oDBSales:FileSpec:Extension
See Also