File Handling
This section lists the properties and methods which you can use to perform file handling.
Properties and Methods
Table 24
Properties and Methods for File Handling
Property or Method
Description
AutoOpen
Enables or disables automatic caching of extended fetch data sets.
Close
Closes the file associated with the control.
DataLength
Returns or sets the length in bytes of the record data buffer used for single-record operations on the file.
DdfPath
Attaches the VAccess control to a specific set of data definition files.
FileVersion
Returns the Pervasive PSQL file version.
Insert
Attempts to insert the current data buffer as a new record.
Location
Sets or returns the drive, path, and file name of the table associated with the selected VAccess control.
Open
Attempts to open the file associated with the control.
OpenMode
Sets or returns the open mode of the file associated with the control.
OwnerName
Specifies a Pervasive PSQL owner name to be used when trying to open the file associated with the VAccess control.
PageSize
Sets or returns the page size of the Pervasive PSQL data file.
SetOwner
Sets the owner name of a file.
Stat
Retrieves current file status information from the file associated with the control.
TableName
Indicates which table will be associated with the control.
TotalRecords
Returns the number of records contained in the Pervasive PSQL file associated with the VAccess control.