Solved

Decision cube

Posted on 2001-07-06
1
277 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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

636 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