Additional column with checkboxes in DBGrid (again) lazarus / 16-Databases ---------------------------------------------------------------------- SibBear · 2013-06-21 08:59 I've added an additional column containing checkboxes to DBGrid. Checkboxes are indicating which records should be exported. Now I need to: - programmatically check/uncheck any checkbox basing on its record number in the grid; - read a state of any checkbox. How can I do this? Thanks, Michael. ---------------------------------------------------------------------- jesusr · 2013-06-23 06:23 check http://wiki.lazarus.freepascal.org/Grids_Reference_Page#Selectin g_Records_in_a_DBGrid_using_checkboxes ---------------------------------------------------------------------- taazz · 2013-06-23 06:30 you seem a bit confused, so let me say this, if you think in terms of subject - view then a dataset is the subject aka the object with the data and a dbgrid is the view aka a graphical representation of the data in the dataset. You do not ask the dbgrid for the values you go directly to the dataset and retrieve the data.