Solved

DATABASE QUESTION

Posted on 1997-12-01
1
127 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 50 total points
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now