Problem writing formula in Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone,

I am having problem to write a formula in the Access query. Hope someone is
able to help me! ;-D

I have two fields: [Grade] and [Size]. [Grade] consists of A, B, C, D, and E
and [Size] can be any number, eg. 10, 20, 30....

I would like to write a formula to obey the following limits:
If [Grade] = E and [Size]<20, then [Limit] = [Size], else [Limit]=20
If [Grade] other than E, and [Size]<40, then [Limit]=[Size], else [Limit]=40.

Any ideas? Really appreciate the help! ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top