Need help multiplying data
Hello i have a problem with printing quanity * price data this is how it looks atm
What i want is to multiply the numbers in "Kvanitet" with "Pris/Enhet" for each row, does anyone know how to achieve this? im desperate
What i want is to multiply the numbers in "Kvanitet" with "Pris/Enhet" for each row, does anyone know how to achieve this? im desperate
Comments
There a few ways to do this, and the choice of which is best depends on factors like what other special treatment your report might need, who will maintain the app, where your skills are strongest etc. Oh, and for really big reports, how the different options perform.
First option: a calculated field in the query that delivers the data to your report. (SQL skill)
Second option: use FastReport Script in a Memo / Text Object on the report. (Access to Report Designer and Script skill)
Third option: Calculate the value in the Delhi or C++ "before print" event for the relevant band. (Access to the IDE etc)
Based on the information in your post, I'd suggest second option. Under the TOTAL column, on the "detail" band add a Memo to your report, double-click on it, type , and then click OK.
Cheers, Paul