In a Delphi application which uses TADODataSet components to access to an Access database, there is any way to delete leading and trailing spaces from text fields when record is written to disk? or perhaps when retrieving the data, but without modifying all my queries.
I mean in ADO engine, without coding myself using Trim() in BeforePost on every table.
With all the limitations you’ve put up… No
My advice would be to code a BeforePost event just once and link all tables to the same beforepost event.
In the objectinspector
In your code