Using Zeos / Firebird - Why cant other users see new data?

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
davidb
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 21.11.2006, 04:42

Using Zeos / Firebird - Why cant other users see new data?

Post by davidb »

Hi,

Could you please help me. I am using Delphi / Zeos / Firebird

If I have multible users connected, the users cannot see changes
to the database until the Connection is discoonected.
I am using Commit etc after post.

I thought that by Closing and Openeing the database would refresh
the records, but this seems not to be the case,

Can I keep the connection active and refresh the database so that
all users can see the updates when refreshed?

Thanks very much
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post by gto »

Try change the Transaction Isolation Level, a property of the TZConnection object. It specify how concurrent users will see the changes of each other. Try with tiReadCommited, it should work for you.

[]'s
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
davidb
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 21.11.2006, 04:42

Post by davidb »

Perfect - Thank you very much, worked a treat.
Post Reply