![]() "Tell Bill where to go today!" |
|
Home/What's New Products Projects
Technology Associates Homepage
![]() Alien Technology? ![]()
(of course)
|
xbDbf Class ReferencexbDbf class. More...
Detailed DescriptionxbDbf class.The xbDbf class encapsulates an xbase DBF database file. It includes all dbf access, field access, and locking methods. Member Function Documentation
Constructor.
Add index to list. Adds the specified index to the list of indexes maintained by the dbf.
Append the current record to the data file. This method attempts to append the contents of the current record buffer to the end of the XDB DBF file and updates the file date and number of records in the file. Also updates any open indexes associated with this data file.
Blank the record buffer. Sets the record to spaces.
Close the dbf file. This method attempts to close the XDB DBF file which was previously opened with either CreateDatabase() or OpenDatabase(). Deletes any memory allocated. Automatically closes any open indexes associated with this data file.
Create the dbf file. This method attempts to create the XDB DBF file with the specified name (TableName) and schema (s). The OverLay switch is used to determine if an existing file should be overwritten or an error flagged. The record buffer is blanked (set to spaces).
Dump header information.
Dump record. Dump the contents of the specified record to stdout.
Get the first physical record in the data file. Attempts to retrieve the first physical record from the data file into the record buffer.
Get the last phyiscal record in the data file. Attempts to retrieve the last physical record from the data file into the record buffer.
Get the next physical record in the data file. Attempts to retrieve the next physical record from the data file into the record buffer.
Get the previous physical record in the data file. Attempts to retrieve the previous physical record from the data file into the record buffer.
Get a record from the data file. This method attempts to retrieve the record specified by RecNo from the data file into the record buffer.
Open the DBF file. This method attempts to open the XDB DBF file with the specified name (TableName). This method does not position to any particular record in the file. The record buffer is blanked (set to spaces).
Write the current record buffer to the current record in the data file. Attempts to write the contents of the record buffer to the current record in the data file. Updates any open indexes.
Write the current record buffer to the specified record in the data file. Attempts to write the contents of the record buffer to the record specified by RecNo. Updates any open indexes.
Set dbase version for the dbf file. Set dbase version.
Get the value of the specified field. Returns the value of the field specified by FieldNo.
Get the value of the specified field. Returns the value of the field specified by Name.
Get the value of the specified field. Get the value of the field specified by Name and place its value in buf.
Returns the number of decimals in the specified field. Returns the number decimals in the field specified by FieldNo.
Returns the length of the specified field. Returns the length of the field specified by FieldNo.
Returns the name of the specified field. Returns a pointer to the name for the field specified by FieldNo.
Returns the field number of the specified field. Returns the field number for the named field.
Returns the type of the specified field. Returns the type of the field specified by FieldNo.
Determines if data is valid logical data. Determines if the data in buf is valid for a logical field value.
Determines if data is valid numeric data. Determines if the data in buf is valid for a numeric field value.
Short description.
Short description.
Short description.
Short description.
Short description.
Short description.
Short description.
Short description.
Short description.
The documentation for this class was generated from the following files:
Copyright © 2000-2002 Derry Bryson. All Rights Reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||