using a control box

S

Sally

I created a form from a table. The form shows the
following information:
Purchase Price (format to currency)
Number of items (format to text)
Shipping Price (format to currency)
Miscellaneous Fees (format to currency)
Price Per Item (format to currency)

I want Access to automatically calculate the value for
Price Per Item after filling in the other information. I
set the control source of that field as follows: =
[purchase price]+[shipping price]+[miscellaneous fees]/
[number of items]
However, it does not calculate properly. Can someone tell
me what I am doing wrong?
Thanks!
Sally
 
A

Albert D. Kallal

I want Access to automatically calculate the value for
Price Per Item after filling in the other information. I
set the control source of that field as follows: =
[purchase price]+[shipping price]+[miscellaneous fees]/
[number of items]

My guess is that it is going:

(purchase price + shipping prices) + ([miscellaneouse fees] / [number of
itmes])

Just like your pocket calculator...division is usually done first..so, lets
force the issue with:

=( ([purchase price]+[shipping price]+[miscellaneous fees]) / [number of
items])
 

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