dbTalk Databases Forums  

problem with fieldset

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss problem with fieldset in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
allison via SQLMonster.com
 
Posts: n/a

Default problem with fieldset - 02-23-2005 , 07:51 AM






I don't understand, i took microsoft's example and it works. but my app
which is based on the same thing doesn't work!
here my problem is that i have the message : "invalid number of agurment"
for the line o_PTV.ColumnAxis.InsertFieldSet(o_PTV.FieldSets("D ateFacture"))
it seems that the problem is with "DateFacture". if i turn with foodmart
2000, it works but with my own cube, it doesn't work.
From where could be the problem?

Thanks a lot!

here is my code:

o_PT.ConnectionString = ConfigurationSettings.AppSettings
("OLAPConnectionString")
o_PT.DataMember = "MyCube"
o_PT.AllowFiltering = True
o_PTV = o_PT.ActiveView
o_PTV.TitleBar.Caption = "MyCube"
o_PTV.ColumnAxis.InsertFieldSet(o_PTV.FieldSets("D ateFacture"))
o_PTV.ColumnAxis.FieldSets("DateFacture").Fields(" Annee").Expanded = True

--
Message posted via http://www.sqlmonster.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.