B
BethMc
In a form for renting jeeps, I have an unbound text box (label: Jeep Cost)
that needs to show the cost of the jeep, before options and taxes. There are
six possible combinations of Jeep Type (combo box) and Unit (option group).
I need something like...
Iif [JeepType]=1 And [Unit]=4, =[NumberDays]*149.99
Iif [JeepType]=1 And [Unit]=5, =[NumberDays]*79.99
Iif [JeepType]=2 And [Unit]=4, =[NumberDays]*189.99
etc., where the JeepTypes can be 1, 2 or 3 and the Unit can be 4 (full
day) or 5 (half day).
This, with the correct syntax, would be an expression used as the Control
Source for the unbound textbox labeled Jeep Cost. I think. And is it an Iif
expression at all, or do I need something using a Where condition?
Should I have gone with both combo boxes, or both option groups, or is it OK
to mix them?
All assistance rewarded with grateful prayers in your name!
Thanks in
advance.
that needs to show the cost of the jeep, before options and taxes. There are
six possible combinations of Jeep Type (combo box) and Unit (option group).
I need something like...
Iif [JeepType]=1 And [Unit]=4, =[NumberDays]*149.99
Iif [JeepType]=1 And [Unit]=5, =[NumberDays]*79.99
Iif [JeepType]=2 And [Unit]=4, =[NumberDays]*189.99
etc., where the JeepTypes can be 1, 2 or 3 and the Unit can be 4 (full
day) or 5 (half day).
This, with the correct syntax, would be an expression used as the Control
Source for the unbound textbox labeled Jeep Cost. I think. And is it an Iif
expression at all, or do I need something using a Where condition?
Should I have gone with both combo boxes, or both option groups, or is it OK
to mix them?
All assistance rewarded with grateful prayers in your name!

advance.