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.


 TFDFunction.QryOpen(FqryCubeDeposit);

ShowMessage(IntToStr(FqryCubeDeposit.Fields.Count)); // 4 OK

 FDataSource.DeleteFields;

 FCube.Open;

ShowMessage(IntToStr(FDataSource.Fields.Count));   // 3 why ???

The missing field is of type 'string'.


 for var I := 0 to FDataSource.Fields.Count - 1 do

 begin

  FDataSource.Fields[I].DataField.CubeFieldDisplayLabel := FServices[0].Title;        // nothing

  FDataSource.Fields[I].SourceFieldProperties.CaptionSourceAttribute := FServices[0].Title;  // nothing

 end;

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.