Page 1 of 1

ZTable.Edit puts me in dsInsert state

Posted: 06.09.2007, 22:41
by ZepeDebo
I am using Zeos 6.1.5 with Delphi 6. I have a run of code where I insert a record, add some values, post then edit again. After the edit, the table's state is dsInsert. I would expect it to be dsEdit. When I post next, rather than changing the current current record, it inserts a new one, consistent with the dsInsert state.

Any ideas what might be happening?

Posted: 07.09.2007, 08:07
by mdaems
Can you post the code you use? Easier for us to guess what's wrong.

Posted: 22.10.2007, 15:09
by ZepeDebo
I should have posted earlier. I found the problem. It had to do with a setting a previous programmer had set. Things are working great now.

Thanks