ZEOS 7 Incompatible types: 'TZConnection' and ' lazarus / 16-Databases ---------------------------------------------------------------------- sidon · 2017-07-20 18:21 Sorry! This question is about ZeosLib, I'm trying to post on ZL Forum but seems my IP's range is banned. I have a system with zeos 6 in wich i use the following function: function zIncCodeByYear (zQry : TZquery; ....): String; var   zConLocal, zConOriginal : TZConnection;   ... begin   bActive := zQry.Active;   zConOriginal :=  zQry.Connection;     This always worked fine, Now I need to convert this system to Delphi Seatle or Lazarus, consequently to Zeos trunk (7.2), after to install this version, in time compile, I get the error: [dcc32 Error] zeosfuncs.pas(265): E2010 Incompatible types: 'TZConnection' and 'TZAbstractConnection' What happens? how to get the connection from zquery in this version? Zeos on lazarus works like on  Delphi? ---------------------------------------------------------------------- paweld · 2017-07-20 19:03 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i zConOriginal :=  TZConnection(zQry.Connection);