In my web page where my owc is placed I put the following in the head -
area - to reference the htc-file:
<head>
<script language=JScript src='../common/DataConn.js'></script>
<style>
.Heading
{
font-family: Arial;
font-size: 14pt;
}
<!--
.ptdrillthrough { behavior: url(Drillthrough.htc); }
-->
</style>
</head>
......and in the body area - at the end I put (perhaps you only need one of
them - has something to do with same or new window)
<script language=JScript>
function spawnDT()
{
pt.Drillthrough.UserInterface.SetViewMode(pt.Drill through.Constants.plDrillt
hroughViewModeSpawn);
}
function hostDT()
{
pt.Drillthrough.UserInterface.SetViewMode(pt.Drill through.Constants.plDrillt
hroughViewModeOriginal);
}
</script>
....it works.
"Wasim Akram" <xyz (AT) abc (DOT) com> skrev i en meddelelse
news:%23SOqFrQbEHA.3728 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
Hello guys,
I have a PivotTable (OWC 10) in my VB6 form.
I want to implement drillthrough on the data.
Is there any easy way to accomplish it?
The sample drill through that comes with Office Component Toolpack is
written for a web based UI, and is in JScript. I can hardly understand
how
it is implemented.
I need a VB example, for a starting point.
Please help me
Regards.
-
\W/A\ |