This topic is locked

Calculation of value

3/14/2006 4:00:07 AM
ASPRunnerPro General questions
R
Rakesh author

Hi
I want to calculate value of one field depending on the value of other field.
For example :
There are two fields viz. Price and Currency Type
Now I want to calculate price depending on Currency Type. For example suppose Currency Type is D then it should take the exchange price of US$ and multiply the value from price field with that exchange value.
Suppose : Value in the price field is : 100

Currency Type is : D

Exchange price is : 46

Then the resultant value in output report should be 4,600/-
Please help me out.
Regards
Rakesh Gupta

Sergey Kornilov admin 3/15/2006

Rakesh,
you can check Edit SQL query manually on the Edit SQL query Tab and make some changes in the SQL query.

Please read the article "How to Use Calculated Fields":

http://www.xlinesoft.com/asprunnerpro/arti...ated_fields.htm