B
Bill_De
I have a data base with a form for registrations. I am trying to do multiple
calculations for the registration payment based on a drop down box (Combo38
in design view) that contains three choices: Check, Credit Card, Pay Pal.
I am using an unbound control for the expression. The combo box and the
registration amount (text Box)(Text27) are built from a table so that
information is stored in my registration table. I have other unbound controls
that figure in the fees for credit cards(4%)(Text28) and for Pay Pal
(2.9%)(Text30). These figures are then entered into the registration table
using an update query.
I don't know if multiple arguments are possible and if not could someone
tell me if there is a way to calculate an expression with multiple arguments
based on a combo box. Here is the expression I have been trying and I keep
getting the error message "#NAME?"
=(IF([Forms]![tf2]![Combo38]="Check",[Forms]![tf2]![Text27]),IF([Forms]![tf2]![Combo38]="Credit
Card",[Forms]![tf2]![Text27]-[Forms]![tf2]![Text27]*[Forms]![tf2]![Text28]),IF[Forms]![tf2]![Combo38]="Pay
Pal",[Forms]![tf2]![Text27]-[Forms]![tf2]![Text27]*[Forms]![tf2]![Text30]),0)
As I write this I wonder if I should be referencing the table instead of the
form.
Any help with this please advise. This is the last hurdle I have to get over
in order to finish this data base up and getting it in use.
Thank you in advance for your help
Bill_De
calculations for the registration payment based on a drop down box (Combo38
in design view) that contains three choices: Check, Credit Card, Pay Pal.
I am using an unbound control for the expression. The combo box and the
registration amount (text Box)(Text27) are built from a table so that
information is stored in my registration table. I have other unbound controls
that figure in the fees for credit cards(4%)(Text28) and for Pay Pal
(2.9%)(Text30). These figures are then entered into the registration table
using an update query.
I don't know if multiple arguments are possible and if not could someone
tell me if there is a way to calculate an expression with multiple arguments
based on a combo box. Here is the expression I have been trying and I keep
getting the error message "#NAME?"
=(IF([Forms]![tf2]![Combo38]="Check",[Forms]![tf2]![Text27]),IF([Forms]![tf2]![Combo38]="Credit
Card",[Forms]![tf2]![Text27]-[Forms]![tf2]![Text27]*[Forms]![tf2]![Text28]),IF[Forms]![tf2]![Combo38]="Pay
Pal",[Forms]![tf2]![Text27]-[Forms]![tf2]![Text27]*[Forms]![tf2]![Text30]),0)
As I write this I wonder if I should be referencing the table instead of the
form.
Any help with this please advise. This is the last hurdle I have to get over
in order to finish this data base up and getting it in use.
Thank you in advance for your help
Bill_De