translating values into categories

J

John

can anyone help me with the following?

i have a report set up that will generate a score for a
particular section of survey for all entires (i.e.
61/100).

What i'd like to be able to do is to assign each section
a rating based on that score (either poor, fair, or
good). How do I get access to display such a score for a
report???

Thanks!!
 
S

Steve Schapel

John,

Depends a bit on how and where the score is being arrived at. But as
a general principle, one way would be to use a calculated control,
using an expression based on the score. Possibly the IIf() function
or the Switch() function would be the most likely approaches. For
example...
=IIf([Score]<50/100,"poor",IIf([Score]<75/100,"fair","good"))

- Steve Schapel, Microsoft Access MVP
 

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

Top