Как предотвратить Data Corruption (повреждение данных)?

Материал из DRKB

Как предотвратить Data Corruption (повреждение данных)?[править | править код]

{
  If a database or a table is local on a PC installed (Paradox or Dbase)
  and the BDE-setting "LOCAL SHARE" is FALSE, then changings are not
  stored immediatly but are kept in the memory.
  This changings are gone after a chrash.
  So it might be better after changing to store the data physically on the disk:
}


uses
  BDE;

procedure TForm1.Table1AfterPost(DataSet: TDataSet);
begin
  DbiSaveChanges(Table1.Handle);
end;


Source: Взято с сайта http://www.swissdelphicenter.ch/en/tipsindex.php
ID: 02645