Calculations on a Form

J

Julian

I am sure this has been asked before,

I have a form that has several fields I would like to add
together and display interactively. I have seen that
calculations can be done and have tried to use the =sum
([fieldname]+[fieldname]) in the control source to no
avail.

Any help would be appreciated.
 
D

Debra Farnham

Hi Julian

try the following as the control source for the textbox on your form/report

=[fieldname]+[fieldname] assuming of course that both fields contain
numbers

HTH

Debra
 
J

Julian

Do the calculations also work on fields that are set as
currency?
-----Original Message-----
Hi Julian

try the following as the control source for the textbox on your form/report

=[fieldname]+[fieldname] assuming of course that both fields contain
numbers

HTH

Debra

Julian said:
I am sure this has been asked before,

I have a form that has several fields I would like to add
together and display interactively. I have seen that
calculations can be done and have tried to use the =sum
([fieldname]+[fieldname]) in the control source to no
avail.

Any help would be appreciated.


.
 
M

Mike Painter

Julian said:
Do the calculations also work on fields that are set as
currency?
<snip>
Yes.
However it would be better if you used a query that held the calculations.
That way you can treat them as ordinary fields and can base forms and
reports on the same information.
 

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