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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve with ASP

Status
Not open for further replies.

dakoz

Programmer
Feb 2, 2002
74
0
0
Is there a way to retrieve just the names of the cubes in ASP? example :

budget
cost
something


and when the user clicks on it, the system takes him to process the cube
 
I don't believe ASP gives you the ability to process cubes you may write you com object using dso that does it. I am not strong in ADO MD so I am not sure if you can get DB or Cube names, again a custom COM object could be written to allow this functionality

Paul

Paul
 
The following code will return all the cube names in a specific OLAP Database

<%
dim cat
dim cube
set cat=server.CreateObject(&quot;ADOMD.Catalog&quot;)
cat.ActiveConnection=<connectionstring>

for each cube in cat.CubeDefs
Response.Write &quot;<tr><td colspan=2>&quot; & cube.Name & &quot;</td></tr><br>&quot;
next
%>

However, I am not too sure on the processing part.

HTH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top