iif functions

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

Guest

Hi, I am a student learning about Access and we are going through IIf
functions right now. I am having a hard time trying to decipher the proper
way to interpret the expression. For instance, Assuming all the tables are
available, and you are asked to run a query with a calculated field... How do
you interpret this in the field:
"Add a calculated field named Trip Fee that multiples the Fee/Person and
People Fields;use the IIf function to reduce the Trip Fee by 10% if the
People field value is greater than six."

Am I to insert 2 fields, one for the Trip Fee, and one for the Trip fee with
a discount?
 
"Struggling Student" <Struggling (e-mail address removed)>
wrote in message
Hi, I am a student learning about Access and we are going through IIf
functions right now. I am having a hard time trying to decipher the
proper way to interpret the expression. For instance, Assuming all
the tables are available, and you are asked to run a query with a
calculated field... How do you interpret this in the field:
"Add a calculated field named Trip Fee that multiples the Fee/Person
and People Fields;use the IIf function to reduce the Trip Fee by 10%
if the People field value is greater than six."

Am I to insert 2 fields, one for the Trip Fee, and one for the Trip
fee with a discount?

It seems pretty clear to me that you are to add a single calculated
field named "Trip Fee". That field should make use of the IIf function
to apply a 10% discount to the fee that would normally be calculated, in
the case where the value of the People field is greater than six.
 
"Struggling Student" <[email protected]>
wrote in message
I have tried several experssions for "Add a calculated field named
Trip Fee that multiples the Fee/Person, and People Fields;use the IIf
function to reduce the Trip Fee by 10% if the People field value is
greater than six." and i still get an error, could someone please
show me how this IIf expression looks like in the calculated field.
Thanks a bunch.

Show us what you've tried, and maybe we can point out what's wrong.
 

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