Solved

Decision cube

Posted on 2001-07-06
1
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tviruailstringtree sort multi columns on header click 1 84
CheckListBox usage 3 81
How to build JSON File in Delphi 6 3 69
Firemonkey DbLookupComboBox equivalent ? 2 66
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…

735 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