D2007 + PostgreSQL + deleting records

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
Marcin W.
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 24.04.2007, 11:57

D2007 + PostgreSQL + deleting records

Post by Marcin W. »

Hi!

I have D2007 and use PostgreSQL 8.4.
On a form I have Dbgrid with ReadOnlyQuery, second Query is for deleting, updating and inserting new records.
Updating and inserting work fine, but, there is an issue with deleting: after deleting, in DBgrid there is no current information, I have to use Refresh.

greetings
Marcin
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Marcin,

Are you trying to tell us after inserting or updating using a second ZQuery component your readonlyquery is updated automatically, but not so after doing deletes?
My brain wants to tell me this is impossible. There's no way the result of one query component could be influenced by an action of another query component. So, if you managed to get this working for insert and update, please tell us here how you did it. I know other people would already be happy with this partial solution.

Mark
Image
Post Reply