Open Modes


<< Click to Display Table of Contents >>

Navigation:  Getting Started >


Open Modes


Previous pageReturn to chapter overviewNext page




Btrieve files can be opened in a number of different open modes:

BFM_NORMAL                Shared Read-Write (Default)

BFM_ACCELERATED                File is opened a little bit faster, but file is not recovered by Roll-Back

BFM_READONLY                ReadOnly

BFM_EXCLUSIVE                Exclusive Read/Write


When you try to open a file and the requested open mode can't be used an error 88 (BER_INCOMPATIBLE_MODE_ERROR) will be generated. Please look at the Btrieve Programmer's Guid for more information about this topic.