how to round up down numbers to the nnearest 1000

D

Danny

how can I use the format field the propertirs section or else where to get
numbers to round up or doem to the nearest 1000 , in Access 2002
 
T

Tom Wickerath

Hi Danny,

Formats only change the appearance of data, as displayed on your monitor or
printed in a report, unless the format function is used in an update query.
You can try using either the format or round function in an update query to
permanently change your data. Examples in the "Update To:" row of the QBE
grid would include the following. Note: I have not done exhaustive testing at
this point.

Round([FieldName]/1000,0)*1000
or
Format(([FieldName]/1000),"#.")*1000

You might want to also read a paper by Luke Chung:
When Access Math Doesn't Add Up
http://www.fmsinc.com/tpapers/math/index.html


Tom
____________________________________

:

how can I use the format field the propertirs section or else where to get
numbers to round up or doem to the nearest 1000 , in Access 2002
 
Top