Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
[Solved] SQLite: Commit changes to one table, continue dataset on another
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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Ann: Deinline: a de-inlin...
by
440bx
[
Today
at 04:10:54 pm]
Delimited text - how find...
by
Aruna
[
Today
at 04:02:11 pm]
[work arounded]Naming dae...
by
LeP
[
Today
at 03:36:10 pm]
What is wrong with this c...
by
theo
[
Today
at 03:23:01 pm]
Lazarus Bugfix Release 4....
by
Jonax
[
Today
at 03:06:25 pm]
IDE: Property editor does...
by
CM630
[
Today
at 02:41:18 pm]
Error: Compilation raised...
by
janasoft
[
Today
at 02:29:19 pm]
[FPC 3.2.4, Windows] PTC ...
by
Thaddy
[
Today
at 02:00:40 pm]
FPC Unleashed (inline var...
by
440bx
[
Today
at 01:31:18 pm]
I hope FreePascal can sup...
by
xiyi0616
[
Today
at 01:28:44 pm]
CudaText editor (written ...
by
AlexTP
[
Today
at 10:43:12 am]
C header function with on...
by
440bx
[
Today
at 09:13:38 am]
(Solved)TUpDown KeyDown ...
by
LeP
[April 15, 2026, 11:21:09 pm]
AI assisted translation o...
by
MathMan
[April 15, 2026, 10:47:11 pm]
Zipper: Addition of mult...
by
marcov
[April 15, 2026, 10:35:15 pm]
Seeking advice on setting...
by
gidesa
[April 15, 2026, 07:02:04 pm]
GTK3: FillRect() mispaint...
by
baldzhang
[April 15, 2026, 06:32:52 pm]
Lazarus Image Editor
by
Paolo
[April 15, 2026, 05:37:30 pm]
Ann: DeCoperators
by
Thaddy
[April 15, 2026, 01:29:40 pm]
RunFormula: math expressi...
by
Handoko
[April 15, 2026, 01:24:30 pm]
How to merge multiple cla...
by
cdbc
[April 15, 2026, 12:48:42 pm]
PWM signals, atmega328p, ...
by
pascalbythree
[April 15, 2026, 12:39:25 pm]
Remote desktop software i...
by
creaothceann
[April 15, 2026, 10:09:49 am]
[SOLVED] Can't pass strin...
by
mas steindorff
[April 14, 2026, 08:51:15 pm]
Fast Canvas Library V1.05...
by
Gigatron
[April 14, 2026, 08:39:38 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] SQLite: Commit changes to one table, continue dataset on another (Read 2140 times)
bobonwhidbey
Hero Member
Posts: 630
[Solved] SQLite: Commit changes to one table, continue dataset on another
«
on:
November 04, 2017, 09:17:27 pm »
My SQLite database has 2 tables. How can I update and commit changes to one table, while continuing to use a dataset on the other table?
«
Last Edit: November 05, 2017, 03:13:31 am by bobonwhidbey
»
Logged
Lazarus 4.6 FPC 3.2.2 x86_64-win64-win32/win64
valdir.marcos
Hero Member
Posts: 1225
Re: SQLite: Commit changes to one table, continue dataset on another
«
Reply #1 on:
November 05, 2017, 02:16:22 am »
You can use one TSQLite3Connection, two TSQLTransaction and two TSQLQuery components from the 'SQLdb tab' in the component palette.
http://wiki.freepascal.org/SQLdb_Package
http://wiki.freepascal.org/SQLite
http://wiki.freepascal.org/SQLdb_Tutorial1
Logged
bobonwhidbey
Hero Member
Posts: 630
Re: SQLite: Commit changes to one table, continue dataset on another
«
Reply #2 on:
November 05, 2017, 03:13:14 am »
Thank you valdir....just the knowledge I needed
I was using 1 Conn, 1 Trans, and 2 Queries....which wasn't working
«
Last Edit: November 05, 2017, 03:14:49 am by bobonwhidbey
»
Logged
Lazarus 4.6 FPC 3.2.2 x86_64-win64-win32/win64
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
[Solved] SQLite: Commit changes to one table, continue dataset on another
TinyPortal
© 2005-2018