numbers in chart

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I ran a query to calculate the cumalative totals by day. Here is the statement:

SELECT DailyQuantities.ItemID, DailyQuantities.EndDate,
DailyQuantities.QuantityCompletedDuringTimePeriod,
DSum("QuantityCompletedDuringTimePeriod","DailyQuantities","ItemID='" &
[ItemID] & "' AND EndDate<=#" & [EndDate] & "#") AS RunSum
FROM DailyQuantities;

The RunSum column is where the cumalative totals go. The query works fine,
but when I try to take the values in the RunSum column and put them in a
chart, they come up not being numbers but general text. I tried to change the
format of the column to numbers but it still won't work. When I tried to
export the data to Excel there was an apostrophe in front of all the numbers.
I don't know if this has something to do with it or not.
Any help would be appreciated.

Thank You.
 
Why the need for the DSum()?

If nothing else, you can wrap a cdbl() around the entire expression. You
may need to trap to for Nulls using Nz().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Running Sum in a Query 3
Running Sum Error in Query 7
Running Balance 10
Get a Running Sum in a Query 3
HELP with DSUM 3
Running Sum Query (again) 2
Running sum on access query 2
....Hey Duane.....! 2

Back
Top