FastCube: Number fields of TfcxDataSource and localiztion header
Your instructions are more than brief. Still, I'm having 2 problems.
I have 4 fields in Query. There are only three in TfcxDataSource.
I don't know, not working localization of caption header.
ShowMessage(IntToStr(FqryCubeDeposit.Fields.Count)); // 4 OK
ShowMessage(IntToStr(FDataSource.Fields.Count)); // 3 why ???
The missing field is of type 'string'.
for var I := 0 to FDataSource.Fields.Count - 1 do
FDataSource.Fields[I].DataField.CubeFieldDisplayLabel := FServices.Title; // nothing
FDataSource.Fields[I].SourceFieldProperties.CaptionSourceAttribute := FServices.Title; // nothing
I already solved it. I was getting the field using LIST (Firebird). I changed it to MAX.
Just the first point. The second needs to be addressed.