Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] SQLite Unique
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
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Intrinsic for type of int...
by
Okoba
[
Today
at 12:44:09 pm]
Should i18n work with TLi...
by
wp
[
Today
at 12:31:50 pm]
QT5: can't compile lazaru...
by
AlexTP
[
Today
at 12:06:50 pm]
FPImageException while l...
by
Bart
[
Today
at 11:23:49 am]
Improvement of function E...
by
AlexTP
[
Today
at 11:09:54 am]
Hacktoberfest
by
Eugene Loza
[
Today
at 10:57:24 am]
Compiling shadow classes ...
by
Alex.Machado
[
Today
at 10:32:52 am]
Poor optimization of cons...
by
lagprogramming
[
Today
at 10:18:42 am]
Is it possible to use a T...
by
TRon
[
Today
at 10:13:21 am]
Notarization under macOS ...
by
msintle
[
Today
at 10:11:56 am]
cannot find -lTpNumLib: N...
by
marcov
[
Today
at 09:44:55 am]
Delpi Knowledge learning ...
by
BlueIcaro
[
Today
at 09:40:34 am]
Linker error with LLVM 15...
by
geraldholdsworth
[
Today
at 09:33:52 am]
Two version of Lazarus - ...
by
TRon
[
Today
at 08:37:59 am]
SaveToFile via 2 streams:...
by
AlexTP
[
Today
at 05:30:17 am]
Encapsulating existing fu...
by
TRon
[
Today
at 05:26:26 am]
Retreive SQL query result...
by
egsuh
[
Today
at 04:21:27 am]
LAMW - opening URL in ext...
by
Manlio
[
Today
at 03:20:58 am]
DockedFormEditor trouble
by
Manuel Santana
[
Today
at 03:09:22 am]
Error : Operation cannot ...
by
essence-ciel
[
Today
at 01:41:07 am]
Lazarus and XML
by
wp
[October 01, 2023, 11:50:49 pm]
CreateWindowHandle
by
Paolo
[October 01, 2023, 11:27:03 pm]
convert kml file to gps
by
folkeu08
[October 01, 2023, 11:15:34 pm]
List of FPC intrinsic
by
simone
[October 01, 2023, 08:57:48 pm]
Set of Enum in generic
by
Okoba
[October 01, 2023, 06:36:54 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 384 times)
Pe3s
Sr. Member
Posts: 488
[SOLVED] SQLite Unique
«
on:
May 31, 2023, 05:54:38 pm »
Hello to all forum users, I have a question, if we set a unique key to a field, e.g. a number, is it possible to display your error message here instead of the message from the sqlite library?
«
Last Edit: June 01, 2023, 09:00:56 am by Pe3s
»
Logged
paweld
Hero Member
Posts: 793
Re: SQLite Unique
«
Reply #1 on:
May 31, 2023, 11:02:27 pm »
You can check the existence of a duplicate as here:
https://forum.lazarus.freepascal.org/index.php/topic,63527.msg481240.html#msg481240
Logged
Best regards / Pozdrawiam
paweld
Pe3s
Sr. Member
Posts: 488
Re: SQLite Unique
«
Reply #2 on:
June 01, 2023, 09:00:12 am »
@paweld, Thank you
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] SQLite Unique
TinyPortal
© 2005-2018