dbTalk Databases Forums  

CellSetGrid and DrillThrough

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss CellSetGrid and DrillThrough in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
timheff@leeinstitute.com
 
Posts: n/a

Default CellSetGrid and DrillThrough - 11-22-2006 , 10:34 AM






To Richard Tkachuk: I love the CellSetGrid, thank you for making it
available. I am attempting to implement DrillThrough callbacks off
clicking the cell values in the UI. I have my callback working on the
click, but I am uncertain about building the MDX for the DrillThrough.
On the callback (in myCallbackEventHandler), I have parsed the
coordinates of the cell (similar to the ClientEventType.Drill case), so
I have a reference to the correct cell in the cellset. My thinking is
that I need to iterate through the axes of the CellSet to get the
unique names for each axis for those coordinates to build MDX something
like this ...
DRILLTHROUGH MAXROWS 1000
SELECT
this.oCellSet.Axes[0].Positions[iMemberOrdinal].Members[0] on 0,
(<Cell definition from each axis>,
<this.oCellSet.Axes[0].Positions[iMemberOrdinal].Members[0].UniqueName>
) On 0

FROM [My Cube]

Is this how you might do it or do you have a suggestion?


Regards,

Tim Heffernan


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.