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
D2007 + PostgreSQL + deleting records
Moderators: gto, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
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
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