SQLdb; required fields lazarus / 16-Databases ---------------------------------------------------------------------- mangakissa · 2015-11-27 10:53 If a table has some fields set on 'NOT NULL', will property required of TFields be set to true automatically. I want to check if the fields are not empty before the changes are put to the table. I don't want to handle it on the exceptions of TSQLQuery, because of the strange error dialog "application get error. close or continue (continue can give you strange working of database)* I also want to color the DBEdits on the form if the field is required *not the real message, but some similar ---------------------------------------------------------------------- LacaK · 2015-11-29 08:49 It depends on database. If database reports in colum metadata "NOT NULL" attribute then it will be used. About which database you are thinking? ---------------------------------------------------------------------- mangakissa · 2015-11-30 07:37 I'm using (embedded) firebird. ---------------------------------------------------------------------- LacaK · 2015-11-30 09:00 In case of Firebird it should work.