Hi Folks,
Laz4.3/FPC3.2.3-64 Bit
Target Win64
I have a DBGrid with a connected Datasource on a SQLite Database, and a connected DBNavigator
in the DB are columns with Constraint "NOT NULL", which propagates back to the Dataset resp. the corresponding TField.
How can i catch the Exception, if the User "forgets" to provide a value for a required field in the DBGrid?
What i do know, is that the Exception occurs BEFORE trying to write to the DB (since i actually do have some Try/Excepts in a few places).
Basically: Where do i have to put the Try/Except to catch that blasted thing?
Or maybe even better: Is there an Event onException or something?
And no: Application.OnException is not really solution