Hello people,
I’m building an application for our company intranet and need to figure out what loop to use (if any) and how to do write the code. Heres what I have…
I have 4 fields with a dropdown next to each:
Meter1 | Drpdwn1
Meter2 | Drpdwn2
Meter3 | Drpdwn3
Meter4 | Drpdwn4
Each drpdwn has the same values: Group1 through to Group5
I want to group the totals of each of the text boxes so for example if I have the following:
Meter1 = 50 | Drpdwn1 = Group2
Meter2 = 95 | Drpdwn2 = Group2
Meter3 = 20 | Drpdwn3 = Group3
Meter4 = 59 | Drpdwn4 = Group1
then I want to calculate the following.
Group1 = 59
Group2 = 145
Group3 = 20
Group4 = 0
Group5 = 0
Please help.
Thanks
J