Name | Description | |
---|---|---|
DBAccess Constructor | Create an insance of the DBAccess class. |
The following tables list the members exposed by DBAccess.
Name | Description | |
---|---|---|
DBAccess Constructor | Create an insance of the DBAccess class. |
Name | Description | |
---|---|---|
Begfl | Static method. Force the reset of the connection to ensure any future reads are from the top of the table. | |
ClearTable | Clear the required table in the database. | |
Close | Close the database "channel" and flush any pending operations. | |
CreateTable | Create the required table in the database. | |
Delete | Delete the last accessed row from the database. | |
DropTable | Drop the required table from the database. | |
Find | Overloaded. Find a row (record) in the table using a key value and a key of reference. No data is returned. | |
GenericDBCheck | Check if the channel being used is a database channel and not an ISAM channel. | |
GenericFileClose | Close an opened instance of the database table. | |
GenericFileDelete | Delete the last located record from the database table. | |
GenericFileFind | Find a record from the database table. No data is returned. | |
GenericFileKeyCheck | Method to determine which key to access the table with depending on the type and size of the passed key value. | |
GenericFileOpen | Open an instance to the database for the selected file. | |
GenericFileRead | Read a record from the database table. | |
GenericFileReads | Read the next record from the database table. | |
GenericFileStore | Store a record into the database table. | |
GenericFileWrite | Update the last located record in the database table. | |
GetKeyValue | From the passed data area, for the passed key reference, return the calculated key value and key length. | |
OpenInput | Open the database table for read-only mode. | |
OpenUpdate | Open the database table for read/write mode. | |
Read | Overloaded. Read a row (record) from the table using a key value and a key of reference. | |
ReadFirst | Read the first available row (record) from the table. The key of reference defines the sequence/key to use. | |
ReadLast | Read the last row (record) from the table. The key of reference defines the sequence/key to use. | |
ReadNext | Read the next available row (record) from the table. | |
ReadPrev | Read the previous row (record) from the table. | |
Select | Overloaded. The select method allows you to query the file and return all records in the file. | |
Store | Store the passed data to the database table. | |
UnLock | Remove any pending locks and abort any pending transaction. | |
Write | Update the last read row in the database with the new value passed in the dataArea argument. |