A
AimeeK via AccessMonster.com
Hello, I am trying to set up a form in a user has to select one of 2 check
boxes: Margin (Check 158) or Markup (Check 160). Then the user will tab
down to a text box in which they are supposed to enter a percentage (Text215).
Here's my problem: If the user selects Check 160, and enters a percentage in
Text215, I need it to perform a formula, and put it in another text box
(Text354). However, if Check 158 is selected, the user will enter the
percentage into Text215 as usual, and then Text354's value will equal the
percentage that is in Text215.
I know I probably have to change the control source of Text354 to a formula
something like this:
=IIf(Check160 Is Not Null, [Text215]/(1+([Text215]/100)),[Text215]...I know I
must be close, but I keep getting a #Name? error.
Can anyone help? Sorry for all the meaningless control names, and thanks in
advance for your help.
boxes: Margin (Check 158) or Markup (Check 160). Then the user will tab
down to a text box in which they are supposed to enter a percentage (Text215).
Here's my problem: If the user selects Check 160, and enters a percentage in
Text215, I need it to perform a formula, and put it in another text box
(Text354). However, if Check 158 is selected, the user will enter the
percentage into Text215 as usual, and then Text354's value will equal the
percentage that is in Text215.
I know I probably have to change the control source of Text354 to a formula
something like this:
=IIf(Check160 Is Not Null, [Text215]/(1+([Text215]/100)),[Text215]...I know I
must be close, but I keep getting a #Name? error.
Can anyone help? Sorry for all the meaningless control names, and thanks in
advance for your help.