|
<< Click to Display Table of Contents >> Accessing and updating tables |
![]() ![]()
|
This table is an overview of the process of accessing and updating tables using Borland Database Engine (BDE):
Phase |
Task |
BDE function |
Preparation |
Initialize the database engine |
|
Preparation |
Open a database |
|
Preparation |
Open a table and get a cursor |
|
Preparation |
Get the cursor properties |
|
Preparation |
Responsibility of the application |
Allocate the record buffer |
Preparation |
Retrieve field descriptor information into application-supplied memory |
|
Preparation |
Begin cached updates mode |
|
Retrieval |
Position the cursor and fetch a record into the record buffer |
|
Retrieval |
Retrieve a field from the record buffer |
|
Update |
Update the field and write it to the record buffer |
|
Update |
Update the table with the new record |
|
Update |
Apply cached updates to the table |
|
Exit |
End the cached updates mode |
|
Exit |
Close the cursor |
|
Exit |
Close the database |
|
Exit |
Exit the database engine |
Also See:
•Transactions on Paradox, dBASE, FoxPro, and Access