Quick Question

D

Douglas Osborne

What is the full reference to Type.Missing when you are executing the
commnad in JavaScript eg

frm1.PivotTable1.ActiveView.FilterAxis.InsertFieldSet(
frm1.PivotTable1.ActiveView.FieldSets[ "DoctorName" ], Type.Missing, false )

TIA,
Doug
 
D

Douglas Osborne

So in JavaScript this works

var oView = frm1.PivotTable1.ActiveView;
oView.FilterAxis.InsertFieldSet ( oView.FieldSets("DoctorName") );

But I cannot figure out the syntax for C#.

TIA,
Doug

frm1.PivotTable1.ActiveView.FieldSets[ "DoctorName" ], Type.Missing, false )
 
A

Alvin Bruney [MVP]

try
frm1.PivotTable1.RowAxis.InsertFieldSet(frm1.PivotTable1.FieldSets["page"],
Type.Missing, false);

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Douglas Osborne said:
So in JavaScript this works

var oView = frm1.PivotTable1.ActiveView;
oView.FilterAxis.InsertFieldSet ( oView.FieldSets("DoctorName") );

But I cannot figure out the syntax for C#.

TIA,
Doug

frm1.PivotTable1.ActiveView.FieldSets[ "DoctorName" ], Type.Missing,
false )

Douglas Osborne said:
What is the full reference to Type.Missing when you are executing the
commnad in JavaScript eg

frm1.PivotTable1.ActiveView.FilterAxis.InsertFieldSet(
frm1.PivotTable1.ActiveView.FieldSets[ "DoctorName" ], Type.Missing,
false )

TIA,
Doug
 

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