Solved

Refresh aplication using Delphi7+Firebird1.5

Posted on 2004-04-06
4
373 Views
Last Modified: 2010-04-05
hi , people  
 
I'm developing a application Client/Server.  
The Database (FireBird) is Located in the Server. And the Clients is working in  machines in the same network.  
Problem: The Inserts only is visible in the local client, and other client don't view the modifications, It's visible if client restart the program and reopening DataBase.  
I'm using IBX components (IBTable, IBQuery).  
I tried to use "Table.Refresh" OR ("Table.Close" / "Table.Open") but this solutions not worked.  
Somebody knows if exists some solution for this problem.
Thanks...
0
Comment
Question by:emaia
  • 3
4 Comments
 
LVL 12

Expert Comment

by:esoftbg
ID: 10769577
Do a double click on the IBTransaction component and choose Snapshot, I think this is the lowest isolation level. I have not network and can not taste it.

I hope it will work successful,
emil
0
 
LVL 12

Accepted Solution

by:
esoftbg earned 125 total points
ID: 10769633
After commitment of the transaction it will be visible modifications, without client restart the program and without reopening DataBase.
If selecting Snapshot isolation level does not effect, try consecutively other levels....

emil
0
 

Author Comment

by:emaia
ID: 10769830
Emil,  
 
I tried your first suggestion  didn't work. But I did  try  
"Read_Committed"  option and  worked.  
You can explain for me what happening in my application when I choose this option.  
Thanks one more time.  
 
-- Elielson
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10769905
I found this explanation:

ISOLATION LEVEL determines how a transaction interacts with other simultaneous transactions accessing the same tables. The default ISOLATION LEVEL is SNAPSHOT. It provides a repeatable-read view of the database at the moment the transaction starts. Changes made by other simultaneous transactions are not visible.

SNAPSHOT TABLE STABILITY provides a repeatable read of the database by ensuring that transactions cannot write to tables, though they may still be able to read from them.

READ COMMITTED enables a transaction to see the most recently committed changes made by other simultaneous transactions. It can also update rows as long as no update conflict occurs. Uncommitted changes made by other transactions remain invisible until committed.

emil
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

22 Experts available now in Live!

Get 1:1 Help Now