UrbaneRove
Programmer
Help with Dynamic formulas.
I have a client application the need to have date sensitive formulas for the calculation of some of there reports. We are using MS Access 2000.
The formula stucture could change but it will always use one variable and the rest is numeric. It is designed to get a charge per KM. Then using the calculated number multiple by KMs to get a charge.
ie.
1) (vPriceOfGas * .56) + 4.56
2) (3.05 + vPriceOfGas) * .32
These formulas are to be entered into a table with a date stamp.
I tried a search and replace function that runs dynamically while running all the calculations but as it changes the vba code in the project it also resets my global variables that are needed during this process.
Do you have any idea on how to deal with dynamic formula?
Thanks
I have a client application the need to have date sensitive formulas for the calculation of some of there reports. We are using MS Access 2000.
The formula stucture could change but it will always use one variable and the rest is numeric. It is designed to get a charge per KM. Then using the calculated number multiple by KMs to get a charge.
ie.
1) (vPriceOfGas * .56) + 4.56
2) (3.05 + vPriceOfGas) * .32
These formulas are to be entered into a table with a date stamp.
I tried a search and replace function that runs dynamically while running all the calculations but as it changes the vba code in the project it also resets my global variables that are needed during this process.
Do you have any idea on how to deal with dynamic formula?
Thanks