I
iez44
Access 2003 issue......
My current form has a field that makes a calculation based on the value of
another field, multiplies it by a fixed number and displays the results in
currency. Basically - # of hours times an hourly rate = total dollar amount.
To accomplish this, I have the field run a macro which performs the calc.
This works just fine.
Now the hourly rate changed in 2008 and by changing my macro to reflect this
new value, I believe the change has recalculated all previous 2007 entries.
(which I don't want!)
So I thought that a possible solution would be to create separate yearly
macros reflecting the correct costing rates, write code to look at the form's
date field and then run the correct macro calculation based on that date.
I'm having a problem with the code. My VB skills are obviously lacking.
Any help would be appreciated!!!!
My current form has a field that makes a calculation based on the value of
another field, multiplies it by a fixed number and displays the results in
currency. Basically - # of hours times an hourly rate = total dollar amount.
To accomplish this, I have the field run a macro which performs the calc.
This works just fine.
Now the hourly rate changed in 2008 and by changing my macro to reflect this
new value, I believe the change has recalculated all previous 2007 entries.
(which I don't want!)
So I thought that a possible solution would be to create separate yearly
macros reflecting the correct costing rates, write code to look at the form's
date field and then run the correct macro calculation based on that date.
I'm having a problem with the code. My VB skills are obviously lacking.
Any help would be appreciated!!!!