Lazarus
Programming => Databases => Topic started by: majid.ebru on December 31, 2018, 08:27:11 am
-
Hi
I have a dbgrid,how can i hide some rows in dbgrid?!
-
use the filter of your dataset.
-
use the filter of your dataset.
Or, if it is SQL-based, by adding a WHERE clause to its SQL select statement.
-
use the filter of your dataset.
How?
Can you explain?
-
https://www.freepascal.org/docs-html/fcl/db/tdataset.filter.html
https://www.w3schools.com/SQl/sql_where.asp
-
Newbie here so, beware.
DBGrid1.Columns[N].Visible:=false;
where N = column number with the first being 0 (zero), I think.
Rob.
-
A column is not a row
-
"A column is not a row"
Yep, my mistake. :-[