Hi,
I have a query which needs to find the value of GeneratorKVA.
I have two other fields in the query, total elec load in kVA and required kVA.
Required kVA is calculated as Required kVA:[total elec load in kVA]/.8
if Required kVA = 0, then Generator kVA=0
if Required kVA>0 and <=20 then Generator kVA=20
if Required kVA>20 and <=30 then Generator kVA=30 and so on till Required kVA<=2000.
How do I use the select case for this
I have a query which needs to find the value of GeneratorKVA.
I have two other fields in the query, total elec load in kVA and required kVA.
Required kVA is calculated as Required kVA:[total elec load in kVA]/.8
if Required kVA = 0, then Generator kVA=0
if Required kVA>0 and <=20 then Generator kVA=20
if Required kVA>20 and <=30 then Generator kVA=30 and so on till Required kVA<=2000.
How do I use the select case for this
Last edited: