Page 1 of 1

D2007 + PostgreSQL + deleting records

Posted: 01.06.2010, 18:01
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

Posted: 14.06.2010, 23:31
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