drillthrough.htc

C

CentraWeb

I need to up the records returned on a drill through of a cube. Where
is the drillthrough.htc file located. I have checked my SQL server and
my IIS box?
 
H

Hans

Hi ContraWeb. Try downloading Microsoft's OWC XP Toolpack. It contains
some sample code and the Drillthrough.htc file. It's been a while since
I tried it, but as far as I recall the .htc file must be in the same
directory as your OWC documents and the pivot table has to be named
pt1.

In your Style section write something like this:
<style>
.ptdrillthrough { behavior: url(Drillthrough.htc); }
----
</style>

<body onload=spawnDT()>


As for your pivot table:
<object class='ptdrillthrough'
classid="clsid:0002E55A-0000-0000-C000-000000000046" id="pt1">
----

Below your pivottable add this:
<SCRIPT language=VBScript>
Function spawnDT()
pt1.Drillthrough.UserInterface.SetViewMode(pt1.Drillthrough.Constants.plDrillthroughViewModeSpawn)
pt1.ActiveView.UseProviderFormatting=true ' Serverside numeric
formatting
pt1.ActiveView.DisplayCellColor = true ' Serverside color formatting

End Function
</SCRIPT>


I hope this is of some help for you.

Regards,
Hans Riis
Bang & Olufsen, Denmark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top