sagobogger
Technical User
I have a .foc with 3 multiplier code fields. I need to link the multiplier codes to a multiplier code table which will return the actual multiplier. I'm stuck with this because I can't see how to get 3 values from the multipler table without cloning the table so that each multipler is linked to a different named table.
Simple example:
The ultimate result I need is
new$amount = $50 * 2.0 * 1.5 * 0.3 = $45
Simple example:
Code:
The data table
Fields
Code number $amount Multipler1 Multipler2 Multiplier3
Data
1323456 $50.00 10 9 14
The multipler table
Fields
Multiplier_code Mutiplier
Data
09 1.5
10 2.0
11 4.6
12 0.1
13 0.9
14 0.3
The ultimate result I need is
new$amount = $50 * 2.0 * 1.5 * 0.3 = $45