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
mvvm experimenting
by
cdbc
[
Today
at 10:10:43 am]
Mazemaker (efg)
by
Lulu
[
Today
at 09:57:03 am]
Strange behavior of TGrap...
by
simsee
[
Today
at 09:28:59 am]
[Discussion] Expanding wi...
by
MarkMLl
[
Today
at 09:07:46 am]
How I can validate if con...
by
MarkMLl
[
Today
at 09:01:07 am]
form transparency
by
GetMem
[
Today
at 08:05:18 am]
QRCode component
by
Pe3s
[
Today
at 07:42:30 am]
Hypocycloid demo
by
Boleeman
[
Today
at 04:16:06 am]
[SOLVED] Internationaliza...
by
Mongkey
[
Today
at 02:54:16 am]
reset
by
KodeZwerg
[
Today
at 01:03:17 am]
Switching IDE context for...
by
Martin_fr
[September 22, 2023, 11:02:13 pm]
Resize projectwizard dial...
by
wp
[September 22, 2023, 11:01:01 pm]
TListView vsIcon view sho...
by
wp
[September 22, 2023, 10:46:26 pm]
moving project, extending...
by
Weiss
[September 22, 2023, 10:28:52 pm]
LAMW - Getting text in jC...
by
c4p
[September 22, 2023, 10:19:52 pm]
[Solved] Cocoa window sho...
by
FangQ
[September 22, 2023, 08:39:17 pm]
Changing the superclass o...
by
alpine
[September 22, 2023, 07:59:48 pm]
static link libc.a
by
toby
[September 22, 2023, 06:28:35 pm]
Best practice to store lo...
by
Okoba
[September 22, 2023, 05:31:10 pm]
Circle with antialising f...
by
zeljko
[September 22, 2023, 05:21:03 pm]
LAMW - android logcat vie...
by
maurobio
[September 22, 2023, 01:54:22 pm]
Fullscreen
by
Pe3s
[September 22, 2023, 01:19:55 pm]
How To DragNDrop txt file...
by
Boleeman
[September 22, 2023, 01:19:44 pm]
PRNG: Why transition to X...
by
MarkMLl
[September 22, 2023, 12:06:10 pm]
Improvement of function E...
by
runewalsh
[September 22, 2023, 10:30:23 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 363 times)
Pe3s
Sr. Member
Posts: 479
[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: 784
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: 479
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