joe_madeira
Registered User.
- Local time
- Today, 07:12
- Joined
- Dec 6, 2011
- Messages
- 29
Hey. In a subform I have a Final Price text box which I added while in design view. First I had the expression: [Quantity]*[Menu Price]. But then i remembered that every time a customer orders an item more than once the price of the item gets cut down to half the price.
Obviously i need an IIF function. I came up with this one, but it doesnt work. Microsoft Access says "THE EXPRESSION YOU ENTERED CONTAINS INVALID SYNTAX."
= IIf ( [Quantity] = >1 , [Final Price] = [Menu Price]*0.5* [Quantity] , [Final Price] = [Menu Price]* [Quantity] )
Any one have any ideas?
Obviously i need an IIF function. I came up with this one, but it doesnt work. Microsoft Access says "THE EXPRESSION YOU ENTERED CONTAINS INVALID SYNTAX."
= IIf ( [Quantity] = >1 , [Final Price] = [Menu Price]*0.5* [Quantity] , [Final Price] = [Menu Price]* [Quantity] )
Any one have any ideas?