Use in TfcCube before open cube:
// base fields feature
procedure SetBaseField(AField, ABaseField: String);
function HaveBaseField(AField: String): Boolean;
procedure ClearBaseFields;
For example:
Field1 - string field (to display)
Field2 - numeric field (to sort)
You need:
fcCube.SetBaseField('Field1', 'Field2');
Comments
Use in TfcCube before open cube:
// base fields feature
procedure SetBaseField(AField, ABaseField: String);
function HaveBaseField(AField: String): Boolean;
procedure ClearBaseFields;
For example:
Field1 - string field (to display)
Field2 - numeric field (to sort)
You need:
fcCube.SetBaseField('Field1', 'Field2');
Oleg Pryalkov
Beacuse I create cube dynamically from different datasets.
Use event TfcCube.BeforeOpen to show your dialog to select and set needed fields.