I am trying to write an IFF statement that will fill in a specific dollar amount depending on what item has been purchased. For example, if the item is a car, then $1000, if its a truck, then $1500.
I imagined the code to be something like:
IIF([Product]="car",$1000,IIF([Product]="Truck",$1500,""))
However, if I were to type this into ACCESS it doesn't work. Access produces an error that says "you cannot set "price" to the calculated data type." What does this mean and can anybody please write the formula in the way that Access needs it to be written?
Thank you so much!