Page 1 of 1

[Solved] Zeos 7.2.1 rc Lazarus 1.6.4 and Firebird 3.0 failed

Posted: 31.05.2017, 09:38
by luckylynx
Hi,
my program, developed with Lazarus 1.6 , Zeos 7.2.1 rc and Firebird 3.0 works fine.
An update to Lazarus 1.6.4 compiles but the program did not work anymore.
A deeper look into it shows, that Zeos cause the problem.
A simple connection with Zconnection, ZQuery and Datasource with the SQL syntax 'Select max(orderno) as orderno from orders'
failed with the message 'Zquery: Field not found - IDNo'. IDNo is the first field in the table.
A connection with the Lazarus SQLdb IBconnection in Lazarus 1.6.4 works fine, so Lazarus seems not the problem.
Any ideas ?
In the Lazarus forum I go no reply, maybe someone here could help.
Thanks in advance.

Re: Zeos 7.2.1 rc Lazarus 1.6.4 and Firebird 3.0 failed

Posted: 31.05.2017, 14:54
by marsupilami
Hello luckylynx,

in the german Lazarus Forums there is a thread saying that Lazarus 1.6.2 and Zeos let you use persistent field components whereas you get errors when you try to do that with Lazarus 1.6.4. This would be correct beaviour.

Do you use persistent field components? Could you try to create a small sample project?

With best regards,

Jan

Re: Zeos 7.2.1 rc Lazarus 1.6.4 and Firebird 3.0 failed

Posted: 31.05.2017, 18:03
by luckylynx
Hi marsupilami,
I read your reply and the German forum about persistent fields , removed them in my example program and voila, the error is gone.
Unfortunately I have to change my program now which will take weeks.
Thank you for your quick and perfect hint. Solved.
Best regards