TDBGrid Columns x Hidden fields in dataset lazarus / 16-Databases ---------------------------------------------------------------------- micheus ยท 2016-09-07 20:52 It was changed something related to that in the current version (1.6)? I just update Lazarus from 1.2.4 and my code stopped working correctly - or at least as it used to work. I use to not add the columns to the DBGrid, so I can switch between two datasets in my application without care about the DBGrid. In the datasets I set some fields with Visible=False in order to not be shown in the DBGrid and then I run through the DBGrid.Columns list to fill a TComboListBox with the fields names that the user will choose to define his/her search. I notice that the non visible items now has been added to that list. An other problem this problem bring me was that sometimes I used to reference dbgBrowse.Columns[1] which now doesn't represents the same field anymore.