Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
SQLite and DBGrid, when updated DataSet grid displays nothing
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
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Gateway Timeouts
by
Joanna
[
Today
at 12:44:33 am]
Testers required for LAMW...
by
nicelybrewed
[
Today
at 12:38:21 am]
What is your favorite "bu...
by
440bx
[
Today
at 12:31:17 am]
IDE/ New Plugin
by
anderbelluno
[
Today
at 12:19:10 am]
Firebird 5.02. - the root...
by
duralast
[June 12, 2025, 11:52:43 pm]
Compiler can't find a (fa...
by
cdbc
[June 12, 2025, 11:35:34 pm]
Lazarus Portable image fi...
by
CharlyTango
[June 12, 2025, 11:18:49 pm]
TimageList - Lazarus 4 wi...
by
wp
[June 12, 2025, 11:17:32 pm]
Filtering a TStringGrid. ...
by
Nicole
[June 12, 2025, 10:52:34 pm]
functional IF
by
Warfley
[June 12, 2025, 10:37:12 pm]
Destructing object whose ...
by
AlexanderK
[June 12, 2025, 10:21:06 pm]
[SOLVED] macOS/Cocoa - Bl...
by
zeljko
[June 12, 2025, 08:47:22 pm]
Linux - partly off topic...
by
Nicole
[June 12, 2025, 08:40:34 pm]
Replace data in an existi...
by
Roni Wolf
[June 12, 2025, 08:06:41 pm]
[Solved] Access violation...
by
Wilko500
[June 12, 2025, 07:37:29 pm]
InstallAware 2025 Sources...
by
440bx
[June 12, 2025, 07:16:41 pm]
Fast Canvas Library V1.0
by
Gigatron
[June 12, 2025, 06:44:27 pm]
FPC 3.2.2 - checksum Erro...
by
paule32
[June 12, 2025, 06:06:55 pm]
Output buffer to audio.
by
Fred vS
[June 12, 2025, 06:00:36 pm]
TProcess freeze
by
LemonParty
[June 12, 2025, 05:47:18 pm]
StringGrid - How to force...
by
etrusco
[June 12, 2025, 05:38:11 pm]
[SOLVED] Speeding up the ...
by
etrusco
[June 12, 2025, 05:28:25 pm]
Layout problem by nested ...
by
Nicole
[June 12, 2025, 05:08:47 pm]
"LCLVersion" in *.lfm fil...
by
zeljko
[June 12, 2025, 04:54:27 pm]
Concole model programming
by
TBMan
[June 12, 2025, 03:50:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SQLite and DBGrid, when updated DataSet grid displays nothing (Read 3940 times)
lainz
Hero Member
Posts: 4720
Web, Desktop & Android developer
SQLite and DBGrid, when updated DataSet grid displays nothing
«
on:
December 21, 2018, 11:33:06 pm »
Hi, I have a DBGrid with a DataSource and a DataSet, the normal setup. It's displayed correctly until my application downloads from an API an update to the table in the DataSet and reloads it. The grid is not functional anymore.
Is strange because I have another DBGrid and is working fine. Someone had this problem before, I readed this:
https://forum.lazarus.freepascal.org/index.php?topic=40899.0
But did not help me at all.
Any setting, any special case when this is not working?
Logged
https://lainz.github.io/
Soner
Sr. Member
Posts: 319
Re: SQLite and DBGrid, when updated DataSet grid displays nothing
«
Reply #1 on:
December 24, 2018, 04:56:52 pm »
Try this:
Dataset.disablecotrols;
Try
//... Download, import
finally
Dataset.EnableControls;
End;
Logged
lainz
Hero Member
Posts: 4720
Web, Desktop & Android developer
Re: SQLite and DBGrid, when updated DataSet grid displays nothing
«
Reply #2 on:
December 26, 2018, 11:56:15 pm »
Thanks. Unfortunately our code already uses that technique with the bad result I described.
Logged
https://lainz.github.io/
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
SQLite and DBGrid, when updated DataSet grid displays nothing
TinyPortal
© 2005-2018