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
[SOLVED] Components with ...
by
PascalDragon
[
Today
at 10:56:29 pm]
Proposal: Record Composit...
by
PascalDragon
[
Today
at 10:09:08 pm]
[solved] Confusing scope(...
by
PascalDragon
[
Today
at 10:07:39 pm]
“case (a,b) of...” doesn’...
by
PascalDragon
[
Today
at 10:01:41 pm]
Help explain this closure...
by
PascalDragon
[
Today
at 09:53:07 pm]
c++ library and strings
by
PascalDragon
[
Today
at 09:42:40 pm]
Is it possible to jump in...
by
PascalDragon
[
Today
at 09:31:58 pm]
is there a way to Forward...
by
PascalDragon
[
Today
at 09:27:32 pm]
Passing TDate parameter i...
by
PascalDragon
[
Today
at 09:25:08 pm]
Class method inheritance ...
by
PascalDragon
[
Today
at 09:16:05 pm]
Can't hide main window
by
Aqdam1978@yahoo.com
[
Today
at 09:07:34 pm]
Make visual components no...
by
pleumann
[
Today
at 08:20:01 pm]
Saving a Form state (rela...
by
Curt Carpenter
[
Today
at 08:10:45 pm]
Notarization under macOS ...
by
Josh
[
Today
at 07:55:16 pm]
TDbf
by
1HuntnMan
[
Today
at 07:37:26 pm]
Poor optimization of cons...
by
440bx
[
Today
at 07:18:03 pm]
PV_Unpacker for ZIP, RAR,...
by
domasz
[
Today
at 07:00:37 pm]
Searchkey Tdbf
by
rcmz
[
Today
at 06:57:45 pm]
Debugger crashes with App...
by
geraldholdsworth
[
Today
at 03:51:37 pm]
Scrolling TStringGrid
by
big_M
[
Today
at 02:48:43 pm]
Large system, i2C to go w...
by
pascalbythree
[
Today
at 02:47:33 pm]
TMemo text width
by
wp
[
Today
at 12:50:05 pm]
Cannot get file opening e...
by
ranny
[
Today
at 08:45:56 am]
FPC 3.2.2 / Lazarus 2.2.6...
by
robert rozee
[
Today
at 01:31:18 am]
Wayland and Free Pascal
by
DMoRiaM
[September 27, 2023, 08:04:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SQLite Unique (Read 372 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: 789
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