Page 1 of 1

ZTable/ZQuery with persistent fields broken

Posted: 05.05.2020, 20:27
by abonic
Steps to reproduce:

1. Put ZConnection, ZTable, Datasource, DBGrid on the form an connect everything
2. Open Fields Editor for ZTable and add one field but NOT THE FIRST

DbGrid now shows content of the first column in the table instead of column defined in Fields Editor

(Zeos 7.3 r6495, Delphi 2009, Firebird 3 embedded, Windows 10)

Edit: ZQuery is broken in the same way too.

Re: ZTable/ZQuery with persistent fields broken

Posted: 06.05.2020, 11:59
by miab3
Indeed
Fields_error.png
Top: 2,3,1
Bottom: all automatically
It looks like an offset of 1.

Delphi 10.3.3-Win32 Oracle 11g.

Michal

Re: ZTable/ZQuery with persistent fields broken

Posted: 06.05.2020, 16:01
by EgonHugeist
Confirmed too, i'm working on it...

Re: ZTable/ZQuery with persistent fields broken

Posted: 10.05.2020, 11:51
by EgonHugeist
@abonic. Hope i got it, please update from SVN \7.3-Testing and report your findings..

Re: ZTable/ZQuery with persistent fields broken

Posted: 10.05.2020, 13:51
by abonic
I have downloaded latest snapshot (zeoslib-code-0-r6503-branches-testing-7.3.zip) and tested under Delphi 2009 and XE.

Unfortunately, I don't see any improvement. The problem described in the first post is still present.

persistent0.PNG
persistent1.PNG

Re: ZTable/ZQuery with persistent fields broken

Posted: 11.05.2020, 14:00
by abonic
I am happy to confirm that the issue seems to have been resolved in rev. 6507.

persistent0.PNG
persistent1.PNG

Re: ZTable/ZQuery with persistent fields broken

Posted: 11.05.2020, 14:44
by marsupilami
Good to know. Thank you :)