Solved

How can I write to database directly after I click Save on DBNavigator

Posted on 2008-10-23
2
270 Views
Last Modified: 2013-11-23
I use firebird database engine and IBtable and DBNavigator to access to and edit tables,
but after I click the "Save" button on the DBnavigator nothing is written to database, how can I make the application write to database directly after I click Save on DBNavigator?
0
Comment
Question by:Livingod
[X]
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 Comments
 

Accepted Solution

by:
the_good earned 125 total points
ID: 22792299
I assume you have a DBsource and IBtable components between dbnavigator and database Source

since you use  Firebird You need to drop an IBtransaction component from Interbase tab

for the DBnavigator onclick event write this code to push the updated data to physical database  

IBtransaction1.commit;  {this will close the table as default}
//if you are using IBtable add this line too
IBtable1.active:=true;

You can see the database file updated with the new commit  ;-)
0
 

Author Comment

by:Livingod
ID: 22792306
Wow wonderful! Thanks for your help : )
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
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…

696 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