[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Decision cube

In my Decision cube, I have two dimensions : Date and Name.  When the user click ib a cell (sum), how can I know the date ?

ex          Name1   Name2
6/3/2001      1       2
7/6/2001      3       4

The user click in the cell containing "3". I want the date "7/6/2001".  How can I do that ?

Thanks.
0
syloux
Asked:
syloux
1 Solution
 
DraregCommented:

Try this :

Procedure TForm1.DecisionGrid1DecisionExamineCell(Sender: TObject;
  iCol, iRow, iSum: Integer; Const ValueArray: TValueArray);
Var i : Integer ;
Begin
  i := DecisionSource1.GetActiveDim(dgRow, 0, True) ;
  ShowMessage(DecisionCube1.GetMemberAsString(i, iRow)) ;
End ;
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now