Can anyone please help me with this. I do not know how to go about creating
this.
Fields in table: RatesMaster
Publication
Color
Base_Rate
Add-on
Values of Publication: TOIH, TOIM, TOID, ETM
Color: BW and 4C
Base Rate for BW: TOIH = 140, TOIM = 1500, TOID = 850, ETK = 200
Base Rate for 4C: TOIH = 200, TOIM = 2000, TOID = 900, ETK = 300
Add-on Rate for BW: TOIH = 100, TOIM = 1400, TOID = 650, ETK = 120
Add-on Rate for 4C: TOIH = 150, TOIM = 1800, TOID = 800, ETK = 180
I want to create a listbox, wherein a person should be allowed to select
various publication & color.
After the selection is made, the system should calculate the total rate.
Among the options selected the application should take the highest Base rate
among the centres selected as it is and should take the Add-on rate for the
other publications & centre and then display the total.
For e.g. if a person selects Publication TOIH, TOIM, TOID and the color as BW
then the logic is 100 + 1500 + 800 + 180
i.e. among the publications selected TOIM has the highest base value and the
other are lower than that, so the Add-on Rate is added to it.
I hope the above is clear and you are able to understand what I am looking
for.
Can anyone please help me with this. I do not know how to go about creating
this.
Thanks & Regards
Suresh
--
K. Suresh
email: k.******@timesgroup.com
su********@gmail.com