I was able to get it by putting the CategoryID into an attribute of the Item <Item CategoryID="2">, since it is the only attribute I can access it without knowing what it is, so this works unless I need to have more than this 1 attribute.
<xsl:template...
I have a list full of items, each item has a categoryid,
i want to filter the list of items by the categoryid in my xsl code, I can do this if i specify what my category id is, but i wanted to try and make it generic, don't know if that makes sense, but please look at the code below.
I am...
I found out how, if any one cares
I needed to use the Aggregate() function
WITH Member [Product].[myAgg] AS
'Aggregate
( {
[Product].[Food].[Baking Goods].[Jams and Jellies].[Jam].[Super],
[Product].[Food].[Baking Goods].[Jams and Jellies].[Jam].[Plato]
} )
then in the where clause
WHERE
(...
I have only done basic queries using MDX and now I am in a spot of trouble. I am trying to query data from a cube and want the data returned to be based on elements that do not appear in the result set. I have made a similar query against the Foodmart cube.
This one works
SELECT
{...
goto start > Program files > Microsoft SQL > Analysis Services > MDX Sample Application.
This program allows you to make queries against the cube, like query analyser.
This is not exactly the same, but should work in both.
This one loads in a whole new array each time you make a selection from the parent select menu.
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
function LoadDependent()
{
var nSelect =...
you can embed this in your new page,
<body onLoad="window.resizeTo(200, 200);">
but it seems to have different results in Netscape and IE.
better yet, don't use target="_blank" use
<a href="javascript:;"...
JavaScript is for client side scripting (Browsers).
Any database activity is going to take place on the server.
If your server is Linux/Unix you will need to use something like PHP or Perl. If your server is Windows you can use ASP.
You can use either VBScript or JavaScript to write asp code...
I don't think you need newPop =
That is how vbscript returns values from functions, not javascript
try
function newPop(){
window.open('flash/acctsel.swf','newWin','width=550,height=405')
}
if that is not it try
<a href="javascript:;" onClick="newPop();">Click here</a>...
I have a pop-window which is a form. it calls an asp page which performs an update to a db. then outputs the following html. Which should close the pop-up and refresh the opening window.
<html>
<head>
<script language="Javascript">
function ManipulateWindows()
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.