I have a table of classes with different rates (%'s) so first column shows codes (DG, FG, RG) 2nd column is C-rate (.05%,.4%,1.2%) then D-Rate (.04%,.5%,0.9%)
I have another table that has a bunch of items with a code beside them. I want a query to look at what code is beside the item and have it multiply a value against the C-rate based on that code.
Query would show:
How can I do this?
Thanks,
Mike
I have another table that has a bunch of items with a code beside them. I want a query to look at what code is beside the item and have it multiply a value against the C-rate based on that code.
Code:
Table 1
Dog DG $500
Cat FG $325
Table 2 (rates)
Code C-Rate D-Rate E-Rate
DG .05% .4% 1.2%
RG .6% 1.3% 2.4%
FG .04% .5% .9%
Query would show:
Code:
NEW COLUMNS SUM
Dog DG $500 $.25 $2 $6 8.25
Cat FG $325 $.13 $1.63 $2.93 4.69
Thanks,
Mike