Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi all! i am using vbscript with

Status
Not open for further replies.

arwo

Programmer
Nov 15, 2000
6
DE
hi all!

i am using vbscript with decision support objects!
i just want to add dimensions and levels.
But i cannot update the dimension! is it enough to update the server? if i just update the serverobject the dimensions are set but i loose the levels!
this is the code fragment:

---------------------------------------------------------
Set dsoDim = dsoDB.Dimensions.AddNew("Products")
Set dsoDim.DataSource = dsoDS 'Dimension DataSource
dsoDim.FromClause = "product" 'Related Table
Set dsoLev = dsoDim.Levels.AddNew("Brand Name")
MsgBox "Dim = " & dsoLev.Name

dsoLev.MemberKeyColumn = """product"".""brand_name"""
MsgBox "Dim = " & dsoLev.Name
dsoLev.ColumnSize = 255
dsoLev.ColumnType = 130
dsoLev.EstimatedSize = 1

dsoServer.Update
-----------------------------------------------------------

The documentation fo MSSQL Server 7.0 doesnt seem to be correct! For example i cannot use the Update method with a
dimension object. Does sombebody know where i can get a correct reference?


Many thanks!

It would be great if sombody can help me!
Sorry for the bad english!

CU! arwo


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top