accessNator
Registered User.
- Local time
- Today, 10:47
- Joined
- Oct 17, 2008
- Messages
- 132
I have a control text box which outputs a currency amount from a query as its source. I have formatted the amount to be a currency value and display it with two decimal places. But in reality sometimes that amount is actually 4 decimal places. When I do a group total, it messes up the actual total due to the decimal places. How can I format the control to use a custom ROUND function that I created? Is it possible to use the ONFORMAT event to actually change the value to 2 decimal places, if so can you provide me an example?
I have tried:
me.amount = Round(me.amount,2)
But it gives me an run time error message, stating that I cant assign a value.
Thanks in advance.
I have tried:
me.amount = Round(me.amount,2)
But it gives me an run time error message, stating that I cant assign a value.
Thanks in advance.