Solved

Decision cube

Posted on 2001-07-06
1
274 Views
Last Modified: 2010-04-06
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
Comment
Question by:syloux
1 Comment
 
LVL 2

Accepted Solution

by:
Drareg earned 50 total points
ID: 6260402

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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question