Topic: Grouping and domain D_BOOLEAN
On not absolutely pleasant rake came across. There is a table in which some fields can accept only logical values. Therefore as the domain for them it is specified D_BOOLEAN, fields on which basis FiB' treat as logical. And in Grid' it are displayed accordingly if sampling goes directly from the table or simple representation on the basis of the table.
If to add in representation grouping (not affecting this field with aggregate functions) initial types of fields are lost and are replaced something from series RDB$xxxx with type INTEGER.
Attempts explicitly to specify value type through cast desirable result do not give.
Why and ?