PreviousProgrammer's Guide (v9 SP2 (9.5) revision 1) Next

Basic Btrieve API Programming

Chapter contents

The following flow charts demonstrate which Btrieve operations to use in your applications to insert, update, and delete records. For more detailed information about APIs, refer to the API Programmer's Reference.

Btrieve API Flow Chart

‰ Inserting Records
  1. OPEN (0)
  2. INSERT (2) to add record (repeat)
  3. CLOSE (1) file
  4. STOP (25) to release resources
‰ Updating Records
  1. OPEN (0)
  2. GET EQUAL (5) or some other single-record retrieval operation to find existing record and establish physical currency
  3. Modify record
  4. UPDATE (3)
  5. CLOSE (1)
  6. STOP (25) to release resources
‰ Deleting Records
  1. OPEN(0)
  2. GET EQUAL(5) or some other single-record retrieval operation to find existing record and establish physical currency
  3. DELETE(4)
  4. CLOSE(1)
  5. STOP (25) to release resources

Chapter contents
Book contents

Prev topic: Btrieve API Programming
Next topic: Special Notes on Visual Basic