DbiSaveChanges

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiSaveChanges

Return to chapter overview

C syntax

DBIResult DBIFN DbiSaveChanges (hCursor);

Delphi syntax

function DbiSaveChanges (hCursor: hDBICur): DBIResult stdcall;

Description

DbiSaveChanges forces all updated records associated with hCursor to disk.

Parameters

hCursor                Type: hDBICur                (Input)
Specifies the cursor handle.

Usage

If the table associated with hCursor is a temporary table (created with DbiCreateTempTable), DbiSaveChanges saves all buffered changes to disk and makes the table permanent. This table will not be removed when the cursor is closed.

SQL: This function is not supported with SQL tables.

DbiResult

Meaning

DBIERR_NONE

All changes have been saved successfully.

DBIERR_INVALIDHNDL

The specified cursor is invalid or NULL.

DBIERR_NODISKSPACE

The changes could not be saved because there is no disk space available.

DBIERR_NOTSUPPORTED

This function is not supported for SQL tables.

See also

DbiMakePermanent