Hi all, New here and reasonably new to coding so please excuse any errors!
I've been doing some searching and reading here as a result of a problem I have in an Access 97 database. Basically it's all based around money, figures and calculations. Lots and lots of them, only access doesn't seem to be able to make up it's mind whether to round up or down at any given moment, meaning 2 calculations using the same figures in different places are giving 2 different results, 1p out. When I subsequently run reports to the end user they get odd figures that dont quite add up!
I've found various versions of some rounding code for this problem here, but I have no idea which to use, or how to apply it to the database. There are so many different places calculations are run, in different forms, reports etc. How do I approach this? do I put the rounding code in every place that I need to round, or can I put it in one place and use it, if so how?!
Many thanks!
I've been doing some searching and reading here as a result of a problem I have in an Access 97 database. Basically it's all based around money, figures and calculations. Lots and lots of them, only access doesn't seem to be able to make up it's mind whether to round up or down at any given moment, meaning 2 calculations using the same figures in different places are giving 2 different results, 1p out. When I subsequently run reports to the end user they get odd figures that dont quite add up!
I've found various versions of some rounding code for this problem here, but I have no idea which to use, or how to apply it to the database. There are so many different places calculations are run, in different forms, reports etc. How do I approach this? do I put the rounding code in every place that I need to round, or can I put it in one place and use it, if so how?!
Many thanks!