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
VAR RECORD doesn't work?
by
TRon
[
Today
at 11:39:59 am]
unit not found (StdCtrls)
by
munair
[
Today
at 10:55:27 am]
Lazarus and XML
by
Bart
[
Today
at 09:38:45 am]
drop picture from browser
by
Handoko
[
Today
at 07:50:10 am]
console app window contro...
by
TRon
[
Today
at 07:46:29 am]
Searchkey Tdbf
by
Handoko
[
Today
at 05:56:02 am]
LAMW - upload file failed...
by
Mongkey
[
Today
at 05:20:23 am]
Encapsulating existing fu...
by
TRon
[
Today
at 05:16:22 am]
FPImageException while l...
by
TRon
[
Today
at 03:10:14 am]
Make visual components no...
by
sstvmaster
[September 30, 2023, 11:37:48 pm]
Scrolling TStringGrid
by
jamie
[September 30, 2023, 11:01:01 pm]
Large system, i2C to go w...
by
ccrause
[September 30, 2023, 08:52:34 pm]
[ solved ] drawn lines no...
by
Jumbo
[September 30, 2023, 12:00:30 pm]
ZenGL Update +android + M...
by
Seenkao
[September 30, 2023, 12:16:22 am]
Notarization under macOS ...
by
TRon
[September 29, 2023, 11:10:27 pm]
Image not shown after use...
by
Jumbo
[September 29, 2023, 10:14:11 pm]
Saving a Form state (rela...
by
Curt Carpenter
[September 29, 2023, 07:46:53 pm]
Poor optimization of cons...
by
440bx
[September 29, 2023, 06:55:50 pm]
Accessing JSON data from ...
by
magleft
[September 29, 2023, 02:22:30 pm]
Operator not Overloaded E...
by
cdbc
[September 29, 2023, 01:15:28 pm]
Can't hide main window
by
zeljko
[September 29, 2023, 08:16:40 am]
“case (a,b) of...” doesn’...
by
440bx
[September 29, 2023, 08:02:32 am]
sslsockets, TSSLSocketHan...
by
r.lukasiak
[September 29, 2023, 07:55:25 am]
Cross platform DirectoryW...
by
r.lukasiak
[September 29, 2023, 07:44:18 am]
Passing TDate parameter i...
by
Arskin_Fertrubble
[September 29, 2023, 03:54:53 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 382 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: 792
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