Link to home
Start Free TrialLog in
Avatar of bruskhickory
bruskhickoryFlag for Australia

asked on

Create an arrayList or temp db table at runtime so I can create a graph with data not related

Hi Experts,
I have a problem were I need to create a graph from 24 fields of data which are not related in any way apart from that they come from the same table.  There does not seem to be any way I can do this. What I want to do is create a stacked bar graph in ReportBuilder3 and compare 12 items. Each item would have a value A or B.  However since the information is not related e.g. Field1.1ItemA, Field1.2ItemB, Field2.1ItemA, Field2.2ItemB, etc, ...Field12.1ItemA, Field12.2ItemB.
They have been created in one table. Normally this would be created over two tables but due to the way the sofware works this could not be done. I am accessing data via an odbc to an SQLServerdb.
My current sql query is
Select  Field1.1ItemA, Field1.2ItemB, Field2.1ItemA, Field2.2ItemB, etc, ...Field12.1ItemA, Field12.2ItemB.
From TableAlpha

How can I create some sort of relationship so that I can a graph 12 items A vs B in a stacked graph. At moment I am looking to either create an ArrayList or create a temp db at runtime and load them in.  I don't know how to do either of these. Any guidance or examples I can view to see how to do this would be very much appreciated!.
Many thanks,
B
ASKER CERTIFIED SOLUTION
Avatar of liija
liija
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial