Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] ZEOS and SQLite3
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Is Lazarus' Tool Palette ...
by
Martin_fr
[
Today
at 12:35:43 am]
New version of LazMapView...
by
wp
[
Today
at 12:26:03 am]
Where are you from?
by
Curt Carpenter
[December 16, 2025, 11:29:06 pm]
Lazarus increase process ...
by
zeljko
[December 16, 2025, 08:57:16 pm]
Is FPGUI still active?
by
cdbc
[December 16, 2025, 08:06:30 pm]
Status of Missile Command...
by
DrakkTheSeafarer
[December 16, 2025, 06:54:32 pm]
connecting to mariadb
by
alanyoung
[December 16, 2025, 04:36:09 pm]
Lazarus Trunc & macOS Tah...
by
madref
[December 16, 2025, 04:24:54 pm]
[hacked for now] Changing...
by
jamie
[December 16, 2025, 02:57:58 pm]
Why does the call via fun...
by
Warfley
[December 16, 2025, 02:17:38 pm]
About the Class View
by
wp
[December 16, 2025, 01:58:25 pm]
Hint on axis marks
by
wp
[December 16, 2025, 01:35:13 pm]
Lazarus is not working
by
Fred vS
[December 16, 2025, 01:22:23 pm]
TLazSerial : serial port ...
by
CM630
[December 16, 2025, 12:24:27 pm]
Qt6 / X11: problem with G...
by
dbannon
[December 16, 2025, 10:51:56 am]
Question re. FCL's ssocke...
by
Khrys
[December 16, 2025, 07:00:32 am]
Does FreePascal have a WM...
by
CM630
[December 15, 2025, 11:20:24 pm]
AVRPascal – free code edi...
by
ackarwow
[December 15, 2025, 10:40:17 pm]
delete cookies
by
Leledumbo
[December 15, 2025, 05:14:27 pm]
Error: Enumeration symbol...
by
nanobit
[December 15, 2025, 04:17:38 pm]
AI interactions
by
Zvoni
[December 15, 2025, 02:19:48 pm]
Recomendations for conver...
by
kompustelnik
[December 15, 2025, 11:20:05 am]
[Solved] Lookup field: er...
by
BlueIcaro
[December 15, 2025, 09:59:57 am]
LCL Web Native with D2Bri...
by
egsuh
[December 15, 2025, 08:10:14 am]
Access Violation - Databa...
by
Xenno
[December 15, 2025, 06:21:52 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] ZEOS and SQLite3 (Read 3351 times)
dseligo
Hero Member
Posts: 1625
[SOLVED] ZEOS and SQLite3
«
on:
November 16, 2020, 02:33:02 am »
I am using ZEOS dbo and SQLite3.
Is there a way to get more specific error message when I have an error in SQL query (TZQuery)? I always get only this: "SQL Error: SQL logic error."
I use it on Windows, DLL is latest (3.33.0 version).
Thanks
«
Last Edit: November 21, 2020, 12:06:08 pm by dseligo
»
Logged
EgonHugeist
Jr. Member
Posts: 78
Re: ZEOS and SQLite3
«
Reply #1 on:
November 16, 2020, 08:57:14 pm »
If you're using the 7.2 series:
use: TZConnection.Properties['ExtendedErrorMessage'] := 'true';
If you're using the 8 series of
https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/8.0-patches/
: It's default.
Otherwise ... no there is no way.
Regards, Michael
Logged
dseligo
Hero Member
Posts: 1625
Re: ZEOS and SQLite3
«
Reply #2 on:
November 18, 2020, 11:02:44 pm »
I use 7.2.6 and it worked great, I just needed to modify it slightly to compile it:
zcSQliteConnection.Properties.Values['ExtendedErrorMessage']:='true';
Thank you.
«
Last Edit: November 18, 2020, 11:05:09 pm by dseligo
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] ZEOS and SQLite3
TinyPortal
© 2005-2018