DbiCheckRefresh

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiCheckRefresh

Return to chapter overview

C syntax

DBIResult DBIFN DbiCheckRefresh (VOID);

Delphi syntax

function DbiCheckRefresh: DBIResult stdcall;

Description

DbiCheckRefresh checks for remote updates to tables for all cursors in the current session, and refreshes the cursors if changed.

Usage

DbiCheckRefresh is useful for implementing an auto-refresh function that periodically refreshes client data. It can be called when a specified time period for the client process auto-refresh timer has elapsed. To receive a notification on the cursors that were actually refreshed, install a callback of the type cbTABLECHANGED.

SQL: This function is not operational with SQL drivers.

DbiResult

Meaning

DBIERR_NONE

All cursors in the current session have been successfully refreshed.

See also

DbiForceReread, DbiRegisterCallBack