Hello,
I have a problem with boolean fields in a TAdvDBGrid and even after having read the doc, I still can't find how to
make them work with a dataset from a SQL query.
When when my datasource is a Table, the TAdvDBGrid works perfetly : I can click and unclick
on the boolean fields, no problem.
BUT when my datasource comes from a TQuery, then it doesn't work.
I got the message (in French) "impossible to update a read only Dataset"
So I added this to my code, so that my dataset is in edit mode but it still doesn't work :
MyDatamodule.ABSQuery.SQL.Text := MySQLquery;
MyDatamodule.ABSQuery.Open;
// added code
MyDataModule.MyDataSource.dataset.edit;
Help would be appreciated a lot.
Thanks in advance.