how do you multiply fields (1 Viewer)

Cam D

New member
Local time
Today, 05:19
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.
 

RainLover

VIP From a land downunder
Local time
Today, 22:19
Joined
Jan 5, 2009
Messages
5,041
Simple Math.

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

namliam

The Mailman - AWF VIP
Local time
Today, 14:19
Joined
Aug 11, 2003
Messages
11,695
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 () )
 

DCrake

Remembered
Local time
Today, 13:19
Joined
Jun 8, 2005
Messages
8,632
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

Top Bottom