K
KJL
I am using VB6 and OWC10. What I want to do it to show detail rows and
Grand total and hide the subtotal. Can anyone help? Thanks!
Grand total and hide the subtotal. Can anyone help? Thanks!
Each field has a boolean SubTotals(index) property that
determines whether
or not a subtotal is calculated for that field or not.
For instance, let's say you had a fieldset called Time that had
two fields,
Year and Quarter. You are looking at data from 2001, and 2002,
and do not
want to se subtotals for each year.
You could use:
Dim av as PivotView
Set av = m_pivot.ActiveView
av.FieldSets("Time").Fields("Year").SubTotals(0) = False
av.FieldSets("Time").Fields("Quarter").SubTotals(0) = True
Chris Magoun
news:[email protected]"]bforums.com[/url]...I am using VB6 and OWC10. What I want to do it to show detail rows and
Grand total and hide the subtotal. Can anyone help? Thanks!
--
http://dbforums.com/http://dbforums.comPosted via