G
Guest
I’m a newby attempting to design a query to produce an invoice, and could
desperately use some expert coding advice. The calculation: IF
[PopulationDependent] is “YES†then [BracketBillingMultiple] needs to return
a value by determining if there is a (number) value in either
[CountyPopulation] OR [CityPopulation] (one or the other will always be
null). If that value in either population field is >1 and <5000, then the
value returned should equal “1â€; if it’s >5001 and <25000 then the value
should be “2â€. The entire calculation overwhelms my feeble brain. Can someone
give me the correct code snippet? Many thanks.
desperately use some expert coding advice. The calculation: IF
[PopulationDependent] is “YES†then [BracketBillingMultiple] needs to return
a value by determining if there is a (number) value in either
[CountyPopulation] OR [CityPopulation] (one or the other will always be
null). If that value in either population field is >1 and <5000, then the
value returned should equal “1â€; if it’s >5001 and <25000 then the value
should be “2â€. The entire calculation overwhelms my feeble brain. Can someone
give me the correct code snippet? Many thanks.