Subject | Boolean in ColumnAttributes don´t work |
---|---|
Author | |
Post date | 2015-03-27T14:05:35Z |
Hello
I have a problem after upgrading IBObjects from 4.8 to 5.5:
The new version doesn´t find the Boolean-Values in the ColumnAttributes if the query has an alias-name. The checkboxes for this specific fields don´t work.
The Query-Editor writes the following string into the columnsAttributes property
Alias.FIELDNAME=BOOLEAN=J,N
but this doesn´t work
after a manual change to
FIELDNAME=BOOLEAN=J,N
the checkboxes are working again
Perhaps this code helps to find the problem
aCol:=qryBest.fieldbyname('be.GEMEINKOSTEN');
Showmessage(aCol.AttributeParams[ IBO_BOOLEAN ]);
Showmessage(aCol.BooleanTrue);
the first line shows: J,N
the second: T ??? here is the error
from the dfm
object qryBest: TIB_Query
ColumnAttributes.Strings = (
'be.GEMEINKOSTEN=BOOLEAN='#39'J,N'#39)
after changing the dfm to this
object qryBest: TIB_Query
ColumnAttributes.Strings = (
'GEMEINKOSTEN=BOOLEAN='#39'J,N'#39)
the code from above shows J,N and J
Thanks
Oliver