Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DATABASE QUESTION

Posted on 1997-12-01
1
Medium Priority
?
151 Views
Last Modified: 2010-04-04
HAVING PROBLEM WITH KEEPING INFORMATION POSTED TO THE TABLES
WHEN I SHUT OFF MY SYSTEM NEW RECORDS ARE LOST ON ONLY ONE TABLE.
WHAT AM I MISSING? WILL STORE TO ONE BUT NOT THE OTHER. HOW DO YOU SET UP CODE AND/OR TABLES TO STORE THE INFORMATION PROPERLY TO THE DATABASE.  
0
Comment
Question by:BBENDALL
1 Comment
 
LVL 1

Accepted Solution

by:
jackb022197 earned 100 total points
ID: 1352572
In the AfterPost method of your tables add
  DbiSaveChanges(Table1.Handle)
to flush all (cached) changes directly to disk.
Dbi functions are in the BDE unit, so you need to add BDE to the uses clause.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

876 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