Saving Database

Posted on 2003-02-19
Medium Priority
Last Modified: 2010-04-04
How can i save my database without loosing some data's when my computer will accedentally turn off.


 I created 5 new records (i call my procedure(SaveDatabase) to save the new datas). after a minute i created another new record and call again my procedure(SaveDatabase) to save that new data, then i tried to TURN OFF MY COMPUTER or pull-out the plug,(experimentation for BROWNOUTS),the result is this... When i browse my data again, it was all gone. whats wrong? how will i save my data into the harddisk making it permanent, even if my application hangs or shutdown accidentally, my new data STILL be there.

this is my procedure, whats wrong with this?

procedure TfBrowseForm.SaveDatabase(TheDatabaseTable:Twwtable);
  if TheDatabaseTable.CachedUpdates then

(DataModule1.refreshTables) this will only refresh the tables

Question by:ryan_sabarre
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Author Comment

ID: 7980444
anybody can help me?
LVL 27

Accepted Solution

kretzschmar earned 400 total points
ID: 7980506
use the dataset flushbuffers-method after each post,
respective after each applyupdates by enabled

meikl ;-)

Author Comment

ID: 7986106
Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much
it really helps me a lot

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question