I have a form in which a calculation must be performed. I have a table called tbl_Rates. On this table I have the following information.
Start End Rate
0 199.99 1%
200 399.99 1.5%
400 499.99 2%
500 1,000,000 3%
On the form the user will enter a dollar amount and depending on the amount the resulting field needs to calculate the percentage of the amount. I need the code that will calculate the amount. In other words if I have an amount of $350.00 I need the calculation to look at the table find the percentage rate and then calculate the result.
Can someone help?
Thanks
Michael