Summation in report

G

Guest

I am trying to do a sumation field in a report, but instead of summing the
fields I specify, it is concatenating them. I do use the formatcurrency
function in some earlier queries on this field, so I am thinking that is
causing a problem. I even tried summing them in the actual query and it did
the same thing. Thanks for any help.
 
G

Guest

What are the data types of these fields? If the are text then you may have
to do something like Cdbl([Jan Draw]) +Cdbl([Feb Draw])+Cdbl([Mar Draw]) or
what suits you better (Cint, Ccur,..).

Amman said:
This is the formula in my control source
=[Jan Draw]+[Feb Draw]+[Mar Draw]

schasteen said:
Please show the formula.
 
G

Guest

I used Ccur and it worked. Thanks for your help!

schasteen said:
What are the data types of these fields? If the are text then you may have
to do something like Cdbl([Jan Draw]) +Cdbl([Feb Draw])+Cdbl([Mar Draw]) or
what suits you better (Cint, Ccur,..).

Amman said:
This is the formula in my control source
=[Jan Draw]+[Feb Draw]+[Mar Draw]

schasteen said:
Please show the formula.

:

I am trying to do a sumation field in a report, but instead of summing the
fields I specify, it is concatenating them. I do use the formatcurrency
function in some earlier queries on this field, so I am thinking that is
causing a problem. I even tried summing them in the actual query and it did
the same thing. Thanks for any help.
 
J

James Atexide

merci
Amman said:
I used Ccur and it worked. Thanks for your help!

schasteen said:
What are the data types of these fields? If the are text then you may
have
to do something like Cdbl([Jan Draw]) +Cdbl([Feb Draw])+Cdbl([Mar Draw])
or
what suits you better (Cint, Ccur,..).

Amman said:
This is the formula in my control source
=[Jan Draw]+[Feb Draw]+[Mar Draw]

:

Please show the formula.

:

I am trying to do a sumation field in a report, but instead of
summing the
fields I specify, it is concatenating them. I do use the
formatcurrency
function in some earlier queries on this field, so I am thinking
that is
causing a problem. I even tried summing them in the actual query
and it did
the same thing. Thanks for any help.
 

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

Top