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
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
Printing unicode one char...
by
bytebites
[
Today
at 10:51:53 pm]
ColorDialog can have opti...
by
Bart
[
Today
at 09:14:55 pm]
Array of String lookup gi...
by
TRon
[
Today
at 09:04:03 pm]
FPSpreadSheet, ReadAsText...
by
andresayang
[
Today
at 08:24:35 pm]
Lazarus for Windows on aa...
by
Alexx2000
[
Today
at 08:14:31 pm]
kernel 6.8 and checking s...
by
MarkMLl
[
Today
at 08:12:08 pm]
How to set the desktop co...
by
zxandris
[
Today
at 07:55:47 pm]
AVRPascal – free code edi...
by
ackarwow
[
Today
at 07:34:07 pm]
Api/component pack for Ra...
by
MarkMLl
[
Today
at 07:11:01 pm]
SAVE StringGrid to PDF
by
dseligo
[
Today
at 06:37:39 pm]
How to save a Graphic fro...
by
Hartmut
[
Today
at 05:57:03 pm]
Array of String lookup gi...
by
Wilko500
[
Today
at 05:47:16 pm]
Developing a Kernel Modul...
by
Joanna from IRC
[
Today
at 04:35:26 pm]
Common File Dialogs Have ...
by
rvk
[
Today
at 04:29:02 pm]
Interesting article about...
by
cdbc
[
Today
at 03:18:36 pm]
How to get hash of entire...
by
Warfley
[
Today
at 01:30:18 pm]
IFS Fractals: Iterating t...
by
Dzandaa
[
Today
at 11:51:08 am]
Баги CYBERGRAPHICS AmigaO...
by
Smalovsky
[
Today
at 09:39:52 am]
C operators and shift
by
MarkMLl
[
Today
at 09:33:12 am]
fphttpapp and Windows Ser...
by
Thaddy
[
Today
at 08:36:36 am]
MIDI file generator - wor...
by
finlazarus
[
Today
at 02:49:40 am]
How do I use/call functio...
by
RedOctober
[
Today
at 02:43:07 am]
compiler messages suggest...
by
n7800
[
Today
at 02:35:05 am]
How to turn off Antialias...
by
n7800
[December 07, 2024, 05:30:19 pm]
Record "inheritance"/stru...
by
Thaddy
[December 07, 2024, 05:22:24 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 904 times)
Pe3s
Hero Member
Posts: 573
[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: 1268
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
Hero Member
Posts: 573
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