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
What is a .DB file
by
wp
[
Today
at 06:54:56 pm]
mvvm experimenting
by
nummer8
[
Today
at 06:04:08 pm]
Tedit selected text
by
TRon
[
Today
at 06:00:10 pm]
LazPaint Plugins
by
lainz
[
Today
at 05:58:34 pm]
Best practice to store lo...
by
Okoba
[
Today
at 05:32:35 pm]
Array of range and enum
by
Okoba
[
Today
at 05:30:18 pm]
Class Change Color Edit a...
by
Bart
[
Today
at 05:24:13 pm]
Linker error with LLVM 15...
by
zeljko
[
Today
at 04:25:44 pm]
Changing the superclass o...
by
pleumann
[
Today
at 04:24:44 pm]
Proposal: Record Composit...
by
Warfley
[
Today
at 03:32:14 pm]
Application menu in MacOS...
by
ChrisR
[
Today
at 03:16:01 pm]
Help explain this closure...
by
Ryan J
[
Today
at 01:55:56 pm]
Help with Script in Repor...
by
Ever
[
Today
at 01:47:55 pm]
Hypocycloid demo
by
Boleeman
[
Today
at 01:41:28 pm]
Error in TdecompressionSt...
by
Grahame Grieve
[
Today
at 01:25:24 pm]
Lazarus | locate on numer...
by
paweld
[
Today
at 01:02:06 pm]
Confusing scope(s) for ty...
by
tetrastes
[
Today
at 01:02:03 pm]
“case (a,b) of...” doesn’...
by
440bx
[
Today
at 12:53:49 pm]
Large system, i2C to go w...
by
pascalbythree
[
Today
at 10:49:12 am]
c++ library and strings
by
TRon
[
Today
at 10:00:20 am]
Which is best embedded da...
by
Zvoni
[
Today
at 09:04:17 am]
How I can validate if con...
by
Zvoni
[
Today
at 08:50:42 am]
Way to hide a class in th...
by
MarkMLl
[
Today
at 08:28:24 am]
Detecting a vpn
by
af0815
[
Today
at 07:57:34 am]
Mazemaker (efg)
by
Boleeman
[
Today
at 07:32:11 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 368 times)
Pe3s
Sr. Member
Posts: 484
[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: 788
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: 484
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