Recent

Author Topic: Zeos Zquery before  (Read 1699 times)

k1attila1

  • Jr. Member
  • **
  • Posts: 85
Zeos Zquery before
« on: March 26, 2018, 11:12:22 am »
Hi  !


Before ZQUERY send a delete, update , insert SQL statement to the server (with .POST, .DELETE)
How can i get, read the composed SQL query (as a string) befores ZQUERY send to the server ?

Thank you Attila

GAN

  • Full Member
  • ***
  • Posts: 232
Re: Zeos Zquery before
« Reply #1 on: March 26, 2018, 11:14:08 pm »
Code: Pascal  [Select]
  1. var s:string;
  2. s:=ZQuery.SQL.Text;
Lazarus 1.8.4 FPC 3.0.4 Linux Mint Mate 17.2 x86_64 GTK-2
Zeos 7.1.3 - Sqlite 3.8.2

Foro Lazarus en español http://forum.lazarus.freepascal.org/index.php/board,73.0.html

mangakissa

  • Hero Member
  • *****
  • Posts: 948
Re: Zeos Zquery before
« Reply #2 on: March 27, 2018, 08:41:49 am »
Are you sure GAN?

ZEOS has TZsqlmonitor to log these queries. Look at this site.
Lazarus 1.84 (32b) / FPC 3.0.4
Windows 10

GAN

  • Full Member
  • ***
  • Posts: 232
Re: Zeos Zquery before
« Reply #3 on: March 27, 2018, 09:46:15 pm »
Yes, because he did not mention a log neither a TZsqlmonitor, only ZQuery and a server.
Lazarus 1.8.4 FPC 3.0.4 Linux Mint Mate 17.2 x86_64 GTK-2
Zeos 7.1.3 - Sqlite 3.8.2

Foro Lazarus en español http://forum.lazarus.freepascal.org/index.php/board,73.0.html