![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, In VB .NET code, I am trying to change the fact table of a partition, using DSO. The code snippet is: dsoPartitionNew.SourceTable = sLQuote & "dbo" & sRQuote & "." & sLQuote & objName & sRQuote dsoPartitionNew.FromClause = Replace(dsoPartition.FromClause, dsoPartition.SourceTable, dsoPartitionNew.SourceTable) dsoPartitionNew.JoinClause = Replace(dsoPartition.JoinClause, dsoPartition.SourceTable, dsoPartitionNew.SourceTable) dsoPartitionNew.SourceTableFilter = Replace(dsoPartition.SourceTableFilter, dsoPartition.SourceTable, dsoPartitionNew.SourceTable) dsoPartitionNew.FactTable = Replace(dsoPartition.FactTable, dsoPartition.SourceTable, dsoPartitionNew.SourceTable) When I trace the execution, at the first line, control passes through the statement. But I see that the value of the Source Table as seen from a watch window, does not change. The partition seen from the Analysis Manager, also shows the source table unchanged. Can someone suggest what might be missing to make things work? I use Analysis Services 2000 with service pack 3. Thanks Yash |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |