TDBAdvGrid sets all boolean fields to false

I think the picture shows the problem.
Represantation of boolean fields is not in Englisch in my app an so the code doesn't work.
I'd suggest to query the boolean field directly and not via conversion to a string. Should be faster too.

What do you think?

Björn

The string represantation for true comes from delphi runtime
so as an alternative you could use the ressourcestring STextTrue instead of 'TRUE'

And I think it's not the only place in code, where the problem occurs because only changing the marked line changes nothin in my app. Checkboxes are still all displaying only false

Thanks for your feedback.
We'll add the improvement to use STextTrue

Sorry, the current solution is not correct

cb := UpperCase(AField.AsString) = STextTrue;

should be

cb := UpperCase(AField.AsString) = UpperCase(STextTrue);

Thanks for reporting. We applied this improvement. It will be included in the next uipdate.