L
ladybug via AccessMonster.com
Currently I have this expression in a query: expression: ([expr]-[chrPFP])*
(0.3)*([SumOfdecProductionHours])
There is another field in the query that is [chrProgramShortName]
I would like my expression as it is above, however for the
chrProgramShortName IF the entry is "CP4" I want the expression to be
different. For every 10 over the expr is over the chrPFP I want it to
mulitply the 0.3. So if the expr=40 and the chrPFP=20, then 0.3 would only
be multiplied twice to give 0.6, instead of 20 times to give 6.
How do I do this in my query? Sorry if this does not make sense. It was the
best way I could think of to describe what I need.
(0.3)*([SumOfdecProductionHours])
There is another field in the query that is [chrProgramShortName]
I would like my expression as it is above, however for the
chrProgramShortName IF the entry is "CP4" I want the expression to be
different. For every 10 over the expr is over the chrPFP I want it to
mulitply the 0.3. So if the expr=40 and the chrPFP=20, then 0.3 would only
be multiplied twice to give 0.6, instead of 20 times to give 6.
How do I do this in my query? Sorry if this does not make sense. It was the
best way I could think of to describe what I need.