I want to pull a value from a data base and use it as a value in drawing a chart. I can get vales from the database and use them in tables etc, i can draw charts, i just cant get the link between the selected value and a variable.
i.e.
Select MyValue From MyTable

Dim xValue

xValue = MyValue