I am creating an order entry form. My customer gets a discount based on the following:
2 year program discount: year 1 = 2%
year 2 = 4%
3 year program discount: year 1 = 2%
year 2 = 4%
year 3 = 6%
4 year program discount year 1 = 2%
year 2 = 4%
year 3 = 6%
year 4 = 8%
What I was contemplating doing was to have a date picker control with the start date, today's date, difference between the 2 dates, check to see if it is greater than 2,4,6,8 years and automatically generate the value in the combo box. The big question is how. I tried but got a lot of errors and thus the request.
Your help would be greatly appreciated.
Thanks.
2 year program discount: year 1 = 2%
year 2 = 4%
3 year program discount: year 1 = 2%
year 2 = 4%
year 3 = 6%
4 year program discount year 1 = 2%
year 2 = 4%
year 3 = 6%
year 4 = 8%
What I was contemplating doing was to have a date picker control with the start date, today's date, difference between the 2 dates, check to see if it is greater than 2,4,6,8 years and automatically generate the value in the combo box. The big question is how. I tried but got a lot of errors and thus the request.
Your help would be greatly appreciated.
Thanks.