Hi,
I've written an SQL query thats designed to increase all the values in a field by a specified percentage. This is the SET part of the query
SET Rates.[Unit Cost] = Rates.[Unit Cost] * " & actualrate
Unit Cost field is set to Curreny with 2 decimal places and actual rate is a number such as 1.01 for 1% increase.
The problem i'm having is that the figures aren't being rounded up to two decimal places. They are stored with 4 even though at first they only display 3. Is there something i can do about this or will i need to write code to deal with this situation.
I've written an SQL query thats designed to increase all the values in a field by a specified percentage. This is the SET part of the query
SET Rates.[Unit Cost] = Rates.[Unit Cost] * " & actualrate
Unit Cost field is set to Curreny with 2 decimal places and actual rate is a number such as 1.01 for 1% increase.
The problem i'm having is that the figures aren't being rounded up to two decimal places. They are stored with 4 even though at first they only display 3. Is there something i can do about this or will i need to write code to deal with this situation.