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
FPC Unleashed (inline var...
by
ccrause
[
Today
at 11:45:40 am]
AI assisted translation o...
by
Paolo
[
Today
at 11:39:19 am]
Ann: Deinline: a de-inlin...
by
LeP
[
Today
at 11:35:41 am]
Little bit...
by
egsuh
[
Today
at 11:16:01 am]
NiceGrid component for La...
by
Alexandr R
[
Today
at 11:02:54 am]
Idea to solve a circular ...
by
jamie
[
Today
at 10:55:07 am]
ZeosDB and sqlite3
by
Thaddy
[
Today
at 08:49:46 am]
Status of Fresnel Project...
by
Thaddy
[
Today
at 08:47:30 am]
Help with OLD code
by
Thaddy
[
Today
at 08:17:11 am]
Can /my/ AI help me with ...
by
MathMan
[
Today
at 07:33:14 am]
Lazarus Image Editor
by
Boleeman
[
Today
at 03:46:20 am]
Splitting Picture into Qu...
by
Boleeman
[
Today
at 02:43:50 am]
The ever re-appearing /= ...
by
n7800
[
Today
at 02:13:57 am]
fp-h2pas: New C header tr...
by
BildatBoffin
[April 11, 2026, 07:22:29 pm]
TurboBird IBX
by
maurog
[April 11, 2026, 04:10:32 pm]
Remote desktop software i...
by
gidesa
[April 11, 2026, 02:25:43 pm]
Omitting semicolon on las...
by
Xenno
[April 11, 2026, 02:04:31 pm]
I can write your README.m...
by
domasz
[April 11, 2026, 09:53:02 am]
android attack (inc)
by
speter
[April 11, 2026, 04:19:54 am]
[ANN] Unofficial FPC 3.3....
by
440bx
[April 11, 2026, 01:00:04 am]
Track windows cross-platf...
by
dsiders
[April 10, 2026, 07:43:43 pm]
[ANN] PasBuild v1.8.0 Rel...
by
Graeme
[April 10, 2026, 06:43:13 pm]
Подписи кнопок панели инс...
by
Raskaton
[April 10, 2026, 06:37:48 pm]
HTTPS-сервер с ГОСТ-серти...
by
Raskaton
[April 10, 2026, 06:29:36 pm]
Strange behavior with dat...
by
JanRoza
[April 10, 2026, 06:20:38 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] ZEOS and SQLite3 (Read 3487 times)
dseligo
Hero Member
Posts: 1678
[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: 1678
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