creating fastcube2 in reportdesigner

Hi


I try to make an print from an fastcube 2 trough fastreportdesigner.
I can select the TfcxpCube at the data tab and insert it as component.
Then i try to set the dataset to an frxDBDataset.
Whenever i click out of the dataset property the dataset proeperty is reset to not assigned.
What do i do wrong?

Comments

  • edited 5:17AM
    Hi


    I try to make an print from an fastcube 2 trough fastreportdesigner.
    I can select the TfcxpCube at the data tab and insert it as component.
    Then i try to set the dataset to an frxDBDataset.
    Whenever i click out of the dataset property the dataset proeperty is reset to not assigned.
    What do i do wrong?


    I looked at the code and is clear to me

    procedure TfcxpCube.SetDataset(const Value: TfrxDataset);
    begin
    if Value is TfrxDBDataset then
    begin
    {
    FDataset := Value;
    FCube.Dataset := TfrxDBDataset(Value).DataSet;
    }
    // FCube.Active := FLoadActive;
    end
    else
    if Value = Nil then
    begin
    {
    FDataset := Value;
    FCube.Dataset := Nil;
    }
    end
    else
    MessageDlg('Can not assign non TfrxDBDataset to Cube!', mtError, [mbOk], 0);
    end;

    The set is commented so will not work.
    What to do?
    I need in urgency to deliver the cube report in an project.
    Is it commented because is not working?

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.