My goal is to get the total value from all the records in my DB. A records has the field 'value' and the field 'qty' (quantity).
So far i have this working script:
This gives me the total result for each row on a line. If i had a Two record with the value and quantity like this: 2.00 | 3 & 1.50 | 2
The result i would get is: 6.00 and 3.00. The result i want is 9.00. I want to get the total result of all my records. How can this be done? Thanks