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
fpsStreams unit problems
by
wp
[
Today
at 12:45:10 pm]
Building static libraries...
by
Fibonacci
[
Today
at 12:43:13 pm]
Pull an icon from a runni...
by
GetMem
[
Today
at 12:28:45 pm]
IMAP Search command & uni...
by
Rebell
[
Today
at 12:24:14 pm]
Poor optimization of cons...
by
lagprogramming
[
Today
at 11:36:52 am]
Component for generating ...
by
wp
[
Today
at 11:33:37 am]
IntraWeb in Lazarus??
by
Okoba
[
Today
at 10:53:49 am]
[SOLVED] Debugger do not ...
by
BSaidus
[
Today
at 10:04:29 am]
pgNotex, a document and t...
by
maxnd
[
Today
at 09:45:57 am]
Improvement of function E...
by
AlexTP
[
Today
at 09:30:23 am]
Directory Structure ?
by
cdbc
[
Today
at 06:07:36 am]
Searchkey Tdbf
by
rcmz
[
Today
at 06:04:09 am]
Notarization under macOS ...
by
dbannon
[
Today
at 05:35:39 am]
[Solved]QT5: can't compil...
by
dbannon
[
Today
at 05:21:10 am]
FPImageException while l...
by
TRon
[
Today
at 04:06:04 am]
TBufferedFileStream crash...
by
Bart
[October 02, 2023, 10:35:37 pm]
Changing focus with the a...
by
furious programming
[October 02, 2023, 09:26:12 pm]
Delpi Knowledge learning ...
by
rvk
[October 02, 2023, 09:02:10 pm]
Linking error - Cocoa pro...
by
JdeHaan
[October 02, 2023, 08:52:55 pm]
Passing a function as a p...
by
Neville
[October 02, 2023, 08:52:36 pm]
Two version of Lazarus - ...
by
TRon
[October 02, 2023, 08:26:24 pm]
ZenGL Update +android + M...
by
Seenkao
[October 02, 2023, 07:32:03 pm]
No more Dark Mode in Laza...
by
Shebuka
[October 02, 2023, 05:34:27 pm]
How to have Search always...
by
petebanx90
[October 02, 2023, 05:18:54 pm]
How to use the Event Log?
by
petebanx90
[October 02, 2023, 05:16:09 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 387 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: 796
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