Code: Select all
function zIncCodeByYear
(zQry : TZquery; sCampo : string; iDigit : ShortInt = 8 ): String;
var
zConLocal, zConOriginal : TZConnection;
begin
bActive := zQry.Active;
zConOriginal := zQry.Connection;
...
[dcc32 Error] zeosfuncs.pas(267): E2010 Incompatible types: 'TZConnection' and 'TZAbstractConnection'
[dcc32 Fatal Error] Myfuncs.pas(162): F2063 Could not compile used unit 'zeosfuncs.pas'
Any Help?
Thanks!