Shooting Star
Registered User.
- Local time
- Today, 05:49
- Joined
- Dec 22, 2008
- Messages
- 15
Hi,
I am making a database about carpets (don't ask why, lol). I have a dropdown box named 'Plywood Base?'. It has two columns; the first is yes and no, and the second is the price of yes is selected.
What I am aiming to achieve is something like this;
When yes is selected from the dropdown box, in another textbox I want it to show;
The price for yes (£3.99), multiplied by the area of the carpet (which is in another text box on the form), plus £20.
When no is selected from the dropdown box, I want the value to be just '0'.
I've tried achieving this by this IIF formula:
=IIf(([Plywood Base?].[Column](0))="Yes","=([Text132]+20)","0")
Textbox132 is a textbox on the form with the value of the area of carpet*£3.99.
However, this IIF formula isn't working for me.
Any ideas would be greatly appreciated!
I am making a database about carpets (don't ask why, lol). I have a dropdown box named 'Plywood Base?'. It has two columns; the first is yes and no, and the second is the price of yes is selected.
What I am aiming to achieve is something like this;
When yes is selected from the dropdown box, in another textbox I want it to show;
The price for yes (£3.99), multiplied by the area of the carpet (which is in another text box on the form), plus £20.
When no is selected from the dropdown box, I want the value to be just '0'.
I've tried achieving this by this IIF formula:
=IIf(([Plywood Base?].[Column](0))="Yes","=([Text132]+20)","0")
Textbox132 is a textbox on the form with the value of the area of carpet*£3.99.
However, this IIF formula isn't working for me.
Any ideas would be greatly appreciated!