how do you multiply fields

Cam D

New member
Local time
Yesterday, 21:04
Joined
Jul 1, 2009
Messages
8
i would like to know how to multiply fields well more to the point i would like to know why this sum comes up with the wrong answer i'm using an update query

[in stock]-[current stock]*[overdue cost]

for the first record it the sum would be 10-7*£5.00 which should equal £15.00 but instead it comes up with -£25.00.
 
Simple Math.

([in stock]-[current stock])*[overdue cost]
 
The key here is the math rules!

Muliplying happens before substracting, thus you get 10 - 35 = -25

Look up your math rulez to solve your problem (or use brackets () )
 
I always remember the acronym BODMAS

Brackets Outside Division, Multiplication, Addition , Subtraction. Maths uses the following order when calculation unbracketed formulae.

David
 

Users who are viewing this thread

Back
Top Bottom