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
Problem with upgrading to...
by
wp
[
Today
at 03:15:03 pm]
Benchmark regular vs SIMD...
by
Martin_fr
[
Today
at 03:01:07 pm]
FPC Unleashed (inline var...
by
Thaddy
[
Today
at 02:57:12 pm]
How to wait until a WebDA...
by
Lutz Mändle
[
Today
at 02:44:10 pm]
Anubis's website security...
by
ALLIGATOR
[
Today
at 01:23:59 pm]
Anubis activated
by
rvk
[
Today
at 12:45:50 pm]
Can Lazarus support Auto-...
by
Martin_fr
[
Today
at 12:33:34 pm]
TFONT and related init ?
by
jamie
[
Today
at 12:17:36 pm]
Cannot get FTP to work
by
Thaddy
[
Today
at 11:58:52 am]
ERROR: The current FPC ha...
by
Thaddy
[
Today
at 11:53:06 am]
Run code during DLL load
by
LemonParty
[
Today
at 11:48:20 am]
GocciaScript: JavaScript ...
by
Tomxe
[
Today
at 11:39:14 am]
text color visible
by
hedgehog
[
Today
at 10:36:48 am]
SYnEdit lose cursor
by
Martin_fr
[
Today
at 09:50:48 am]
Portable verion of FPC an...
by
marcov
[
Today
at 09:46:14 am]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 09:41:18 am]
paszlib. Feature request ...
by
LemonParty
[
Today
at 08:09:37 am]
Death of the Power User
by
440bx
[
Today
at 05:47:41 am]
Linking a PortAudio stati...
by
bbrx
[May 20, 2026, 08:02:20 pm]
IDE Windows Centered
by
zeljko
[May 20, 2026, 01:51:37 pm]
QuotedStr
by
wp
[May 20, 2026, 12:52:30 pm]
LazNodeEditor (visual nod...
by
gidesa
[May 20, 2026, 12:36:09 pm]
TMemoryStream, manual mem...
by
marcov
[May 20, 2026, 12:16:31 pm]
LZMA, LZMA2 and XZ
by
LemonParty
[May 20, 2026, 11:24:36 am]
[SOLVED] wildcard utiliti...
by
mas steindorff
[May 20, 2026, 08:21:18 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] SQLite: Commit changes to one table, continue dataset on another (Read 2146 times)
bobonwhidbey
Hero Member
Posts: 631
[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: 1285
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: 631
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