Suspends data processing, enabling the Microsoft Jet database engine to complete any pending tasks, such as memory optimization or page timeouts (Microsoft Jet workspaces only).
Syntax
VOIDIdle(LONG lOptions=-1);
Parameters
Type | Example | Description |
LONG | IOptions | Optional. Specify dbRefreshCache to force any pending writes to .mdb files, and refresh memory with the most current data from the .mdb file. |
Usage
#include <afxole.h>
#include <dbdao.h>
CdbDBEngine dben;
dben.Idle(dbRefreshCache); // Give time to the engine.