Analysis Services Programming
FromClause (MDStore Interface)
The FromClause property of the MDStore interface contains a comma-separated list of the fact table and the dimension tables from which store data is obtained.
Applies To
clsCube (excluding virtual cubes)
Data Type
String
Access
Read/write
Remarks
The FromClause property contains the string used by the data source provider to construct an SQL FROM clause.
Note You must separate the table and column names with the delimiters appropriate to the source database. You can use the CloseQuoteChar and OpenQuoteChar properties of the DataSource object to determine the correct delimiters.
Example
' Assume the existence of a clsCube object, named dsoCube.
dsoCube.FromClause = """tblFacts"", ""tblProduct"", ""tblCustomer"""
The previous code example sets the FromClause property to the following string:
"tblFacts", "tblProduct", "tblCustomer"