[Lazarus] Get SQL before TSQLQuery execute

Michael Van Canneyt michael at freepascal.org
Fri Jun 26 12:46:32 CEST 2015



On Fri, 26 Jun 2015, aradeonas wrote:

> Thank you very much for example.
>  
> 
> It may be that something changed in trunk so you see different things for MySQL when using 2.6.4, 
> but I didn't see any sign of such a change.
> 
>  
> Yes,because in my version I have these errors:
>       Compile Project, Target: logsqldemo.exe: Exit code 1, Errors: 3
> logsqldemo.pas(51,20) Error: Identifier not found "LogAllEventsExtra"
> logsqldemo.pas(70,9) Error: Incompatible types: got "TCollectionItem" expected "TParam"
> logsqldemo.pas(131,18) Error: Identifier not found "GetOptionValues"

Yes, it will only work with trunk, but you should easily be able to adapt it to 2.6.4.

Michael.


More information about the Lazarus mailing list