0 Replies Latest reply on Oct 5, 2008 5:04 PM by FlexTester

    Multiple OLAP queries against one cube

      I'm new to flex and AS and I'm having trouble with an OLAP query. I was able to create a cube, query and populate one datagrid. That works fine. Now, I am trying to run a second query against the same cube to populate a different dg. Even when executing the same query as the first but for a second time, I get a null object reference run-time error when I try to write the result to the dg. Do I have to refresh the cube before each query and is that why I'm getting this error? Or should I be able to run multiple queries off of a cube once it is instantiated? If the answer is yes, that this should work, then I will post the code so that someone might be able to take a look at it for me. Thanks in advance.