|
Тема |
Пробвай и това... [re: Учeниka] |
|
Автор |
PhantomAS (новак) |
|
Публикувано | 27.04.01 13:18 |
|
|
Една извадка от ..\Delphi5\BDE\bde32.hlp - за пове4е информация виж там
в BDE function reference \ Table functions
-------------------------------------------------
пробвай с тази функция
като я извикаш така
Check(DbiSaveChanges (MyTable.Handle));
тази функция трябва да е в BDE.dcu
--------------------------------------------------------
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.
---
IN VINO VERITAS!
|
| |
|
|
|