Functions in the Database Engine

Unless otherwise stated, all database functions return a database error number. All errors are guaranteed to be negative, so testing for negative numbers will test for all error conditions. Selected functions return a record number as well (which will be 0 or positive), so testing for non-negative numbers covers non-error situations.

DB_Init

DB_Create

DB_Open

DB_Reset

DB_ChangePassword

DB_Deactivate

DB_Reactivate

DB_CardChanged

DB_Close

DB_ReadRecord

DB_WriteRecord

DB_DeleteRecord

DB_RecordSize

DB_AddRecord

DB_CountRecords

DB_CreateLookupTable

DB_CreateViewptTable

DB_CollectGarbage

DB_SetUndoPoint

DB_FlushFile

DB_Undo

DB_UndoStatus

DB_Select

DB_IsSelected

DB_LoadFieldDefs

DB_GetField

DB_GetNamedField

DB_GetFieldStrings

DB_GetFieldName

DB_GetFieldIndex

DB_Order

DB_ParseFISL

DB_CardToFISL

DB_FISLToCard

DB_FieldInFISL

DB_FISLFieldTranslate

DB_UnparseFISL

DB_AdvanceFISL

DB_InViewpt

DB_ModifyViewpt

DB_SetCurrentViewpt

DB_StoreViewpt

DB_CancelViewpt

DB_AutoGoto

DB_CheckCategory

DB_WinStrTo850

DB_WinGledTo850

DB_WinTranslate

DB_FindRecord

DB_FindDataRecord