Get Dataset fielddefs names into string list? lazarus / 16-Databases ---------------------------------------------------------------------- tatamata · 2020-03-24 13:12 Hello, Can we get a dataset's fielddefs names into a list, without iteration? ---------------------------------------------------------------------- mangakissa · 2020-03-24 13:16 tsqlquery.GetFieldNames ---------------------------------------------------------------------- lucamar · 2020-03-24 16:55 Note that GetFieldNames() is a method of TDataSet, so it should work for any TDataSet descendant, not only for TSQLQuery. Also, you can access the TField themselves, after getting their names with GetFieldNames(), with method GetFieldList().