Divide Currency Number

J

Jeff

I am fairly new to Access and have a table with over 25ok records. I am
trying to reduce, the sales number, which field is formatted as a currency,
by 1000.

I am not quite sure where to enter the replace expression and the exact
language as I am used to using Foxpro
 
J

John W. Vinson

I am fairly new to Access and have a table with over 25ok records. I am
trying to reduce, the sales number, which field is formatted as a currency,
by 1000.

I am not quite sure where to enter the replace expression and the exact
language as I am used to using Foxpro

If you want to permanently replace the value (i.e. a record containing
$8,215.50 becomes $8.2155, note that Currency values have four decimals)
create a Query based on the table; change it to an Update query using the
Query menu option; and on the UpdateTo line under [Sales Number] type

[Sales Number] / 1000.

If you want to keep the actual value stored but just display or use the
division result, just create the default Select Query and put the same
expression in a vacant Field cell. This Query can be used as the basis of a
report, a form (where this field will *not* be editable), an export, etc.
 

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