Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2004, 04:10 AM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default OWC Help: How to Insert Multiple InsertTotal ?

Hi I'm using OWC10 and i'm trying to insert multiple InsertTotal for my chart but the problem is that it only display one (ex. "Sum of Book" for my example)but now the others (ex. "Sum of Pen" from my code) that i have inserted together. Is there something wrong with my code or i forgot to add some more command?

Set total1 = oView.AddTotal("Sum of Book", _
oView.FieldSets("Book").Fields(0), _
document.all.PIVOT.Constants.plFunctionSum)

Set total2 = oView.AddTotal("Sum of Pen", _
oView.FieldSets("Pen").Fields(0), _
document.all.PIVOT.Constants.plFunctionSum)

     oView.DataAxis.InsertTotal total1
     oView.DataAxis.InsertTotal total2

Thanks in Advance!
Andrew





Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Insert tsimsha Classic ASP Basics 1 January 19th, 2005 07:48 AM
Multiple Insert Loop HeadMelt Classic ASP Basics 3 November 8th, 2004 08:31 AM
Multiple Insert Loop HeadMelt Classic ASP Professional 1 November 7th, 2004 09:26 PM
Multiple value insert mateenmohd SQL Server 2000 3 October 7th, 2003 12:55 AM
Best way to insert multiple records koo9 ADO.NET 2 June 28th, 2003 08:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.