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
Sleep forever
by
440bx
[
Today
at 08:38:15 am]
Windows API and wide/unic...
by
Nadar
[
Today
at 08:36:00 am]
LazReport designer math f...
by
heavyconcrete
[
Today
at 08:25:34 am]
Huge problem with open fi...
by
MarkMLl
[
Today
at 08:24:33 am]
BGRA Controls
by
paweld
[
Today
at 07:53:16 am]
What is the meaning of TF...
by
kwyan
[
Today
at 07:04:14 am]
Un-register an LCL Compon...
by
dbannon
[
Today
at 04:58:57 am]
[SOLVED] TPanel slider po...
by
Handoko
[
Today
at 04:07:12 am]
how to change color of a ...
by
Handoko
[
Today
at 03:26:35 am]
Date-Stamp DBDateEdit
by
Handoko
[
Today
at 03:16:12 am]
Chinese input in edit and...
by
myisjwj
[
Today
at 03:13:57 am]
Any library to generate a...
by
Martin_fr
[
Today
at 01:29:56 am]
Absolute positioning of c...
by
dseligo
[
Today
at 01:06:11 am]
Lazarus 3.0 on linux does...
by
dbannon
[
Today
at 12:46:02 am]
Online Package Manager
by
lainz
[November 29, 2023, 10:34:18 pm]
BGRA Controls Install Lat...
by
andrew Bubble
[November 29, 2023, 08:43:54 pm]
ImGui FreePascal Binding ...
by
Coldzer0
[November 29, 2023, 05:28:50 pm]
Can't build a project gro...
by
MarkMLl
[November 29, 2023, 05:22:14 pm]
TFileStream.ReadAnsiStrin...
by
simone
[November 29, 2023, 05:16:57 pm]
Why cannot this be inline...
by
Stefan Glienke
[November 29, 2023, 05:05:12 pm]
TPath enhancements (Issue...
by
VisualLab
[November 29, 2023, 04:47:46 pm]
jwabcrypt unit is missing
by
fpc_2024
[November 29, 2023, 03:08:24 pm]
Problems with accentuatio...
by
Gercino
[November 29, 2023, 02:47:54 pm]
Lazarus Install PI5 Bookw...
by
paweld
[November 29, 2023, 01:36:00 pm]
Conscious Artificial Inte...
by
Dzandaa
[November 29, 2023, 01:07:14 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 499 times)
Pe3s
Hero Member
Posts: 513
[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: 838
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: 513
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