Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
(SOLVED) Speed up a dbgrid with so many lines
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
made hooking newinstance ...
by
Handoko
[
Today
at 05:32:17 pm]
XLibre, finally and fortu...
by
Fred vS
[
Today
at 05:18:57 pm]
Pdf Viewer in Pascal
by
Tomxe
[
Today
at 05:00:32 pm]
[New Component] ExtTabCtr...
by
ovidio
[
Today
at 04:22:52 pm]
Sizes and SizeInt
by
LemonParty
[
Today
at 03:05:53 pm]
How can 'Canvas does not ...
by
J-G
[
Today
at 03:05:01 pm]
AArch64. Fast method to c...
by
Thaddy
[
Today
at 01:58:45 pm]
I found an actual use for...
by
Thaddy
[
Today
at 01:07:16 pm]
Strange Behaviour at Runt...
by
andrew Bubble
[
Today
at 12:41:49 pm]
water filling simulation
by
Dzandaa
[
Today
at 12:35:32 pm]
Can /my/ AI help me with ...
by
microxa
[
Today
at 12:12:06 pm]
Knigo
by
CM630
[
Today
at 12:05:31 pm]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 11:27:35 am]
[solved] rotate image pro...
by
speter
[
Today
at 10:03:42 am]
Lazarus Main and Gnome/Wa...
by
zeljko
[
Today
at 09:06:57 am]
TstringGrid read cell col...
by
Josh
[June 08, 2026, 11:05:23 pm]
Pascal for AI Agent CLI T...
by
schuler
[June 08, 2026, 10:35:41 pm]
is there a Base 26 / Radi...
by
Josh
[June 08, 2026, 08:54:36 pm]
FPC Unleashed (inline var...
by
Fibonacci
[June 08, 2026, 08:49:31 pm]
Notetask 1.1.4 - Free cro...
by
AlexanderT
[June 08, 2026, 04:55:38 pm]
Pixie: A lightweight HTML...
by
Tomxe
[June 08, 2026, 01:48:30 pm]
EasyLazFreeType Bug?
by
Tommi
[June 08, 2026, 10:57:47 am]
embed .jpg file into .pp ...
by
Thaddy
[June 08, 2026, 09:51:38 am]
Call SetLength from assem...
by
Thaddy
[June 08, 2026, 09:00:36 am]
TPlaysound problem Ubuntu...
by
jamie
[June 08, 2026, 12:57:32 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: (SOLVED) Speed up a dbgrid with so many lines (Read 3757 times)
xinyiman
Hero Member
Posts: 2261
(SOLVED) Speed up a dbgrid with so many lines
«
on:
August 10, 2017, 08:53:28 pm »
Hi guys, I have a dbgrid that must display 10000 records. But it is very slow (over ten seconds). Is there any parameter that can speed up loading? Something that just loads me a few records at a time based on the scrollbar?
Thank you
«
Last Edit: August 10, 2017, 09:48:12 pm by xinyiman
»
Logged
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1
Handoko
Hero Member
Posts: 5545
My goal: build my own game engine using Lazarus
Re: Speed up a dbgrid with so many lines
«
Reply #1 on:
August 10, 2017, 09:34:39 pm »
I remember there was a discussion about big database, maybe you will be interested:
http://forum.lazarus.freepascal.org/index.php/topic,37183.msg249430.html
Logged
xinyiman
Hero Member
Posts: 2261
Re: Speed up a dbgrid with so many lines
«
Reply #2 on:
August 10, 2017, 09:42:02 pm »
I solved with
TZQuery.FetchRow:=10;
It was really trivial! Sorry
Logged
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1
mangakissa
Hero Member
Posts: 1131
Re: (SOLVED) Speed up a dbgrid with so many lines
«
Reply #3 on:
August 11, 2017, 08:28:58 am »
Or use TSQLQuery.Disablecontrols and TSQLQuery.Enablecontrols
Logged
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
(SOLVED) Speed up a dbgrid with so many lines
TinyPortal
© 2005-2018