C
ClevelandSteve
Hello everyone,
I am very new to ASP.net (1.1 framework) and OWC so I'm looking for a
little help. I have an OWC11 PivotTable embedded into my web page.
I'm trying to use VBScript to edit the look of the pivot table so my
users do not have to do it manually. Here is some of my code:
<HTML>
Some Code
<OBJECT id="ptFcst"
classid="clsid:0002E55A-0000-0000-C000-000000000046" Blah, blah...
</OBJECT>
More Code
<SCRIPT language="vbscript">
<! - -
Sub Window_OnLoad()
ptFcst.ActiveView.ColumnAxis.InsertFieldSet
ptFcst.ActiveView.FieldSets("MONTH_TEXT")
End Sub
//-->
</SCRIPT>
</HTML>
When running the code the pivot table appears, but the field set is not
added to the column axis. Turning on the notifications for script
errors within IE returns an Object Required: 'ptFcst' message. Am
I on the right track in thinking the client side script doesn't
recognize the server side pivot table object? I read in another thread
to add a project reference to OWC11, which I did but that didn't
help.
I am very new to ASP.net (1.1 framework) and OWC so I'm looking for a
little help. I have an OWC11 PivotTable embedded into my web page.
I'm trying to use VBScript to edit the look of the pivot table so my
users do not have to do it manually. Here is some of my code:
<HTML>
Some Code
<OBJECT id="ptFcst"
classid="clsid:0002E55A-0000-0000-C000-000000000046" Blah, blah...
</OBJECT>
More Code
<SCRIPT language="vbscript">
<! - -
Sub Window_OnLoad()
ptFcst.ActiveView.ColumnAxis.InsertFieldSet
ptFcst.ActiveView.FieldSets("MONTH_TEXT")
End Sub
//-->
</SCRIPT>
</HTML>
When running the code the pivot table appears, but the field set is not
added to the column axis. Turning on the notifications for script
errors within IE returns an Object Required: 'ptFcst' message. Am
I on the right track in thinking the client side script doesn't
recognize the server side pivot table object? I read in another thread
to add a project reference to OWC11, which I did but that didn't
help.